mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 23:49:09 +00:00
(svn r1992) Show the ./svnup.sh output in $PAGER (less if unset).
This commit is contained in:
6
svnup.sh
6
svnup.sh
@@ -3,6 +3,10 @@
|
|||||||
# This is only useful for users of CLI based SVN clients
|
# This is only useful for users of CLI based SVN clients
|
||||||
# Written by Bjarni
|
# Written by Bjarni
|
||||||
|
|
||||||
|
[ "$PAGER" ] || PAGER=less
|
||||||
|
|
||||||
|
|
||||||
|
(
|
||||||
|
|
||||||
# reads what version you have now
|
# reads what version you have now
|
||||||
Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1`
|
Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1`
|
||||||
@@ -20,3 +24,5 @@ fi
|
|||||||
# displays merged files
|
# displays merged files
|
||||||
cat svn.log|grep "^G"
|
cat svn.log|grep "^G"
|
||||||
cat svn.log|grep "^C"
|
cat svn.log|grep "^C"
|
||||||
|
|
||||||
|
) | $PAGER
|
||||||
|
Reference in New Issue
Block a user