mirror of https://github.com/OpenTTD/OpenTTD
(svn r1992) Show the ./svnup.sh output in $PAGER (less if unset).
parent
fea811a4b7
commit
83df863b6c
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
|
||||||
|
|
Loading…
Reference in New Issue