summaryrefslogtreecommitdiff
path: root/svnup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'svnup.sh')
-rwxr-xr-xsvnup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/svnup.sh b/svnup.sh
index a2d34f222..bb0adee78 100755
--- a/svnup.sh
+++ b/svnup.sh
@@ -3,6 +3,10 @@
# This is only useful for users of CLI based SVN clients
# Written by Bjarni
+[ "$PAGER" ] || PAGER=less
+
+
+(
# reads what version you have now
Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1`
@@ -20,3 +24,5 @@ fi
# displays merged files
cat svn.log|grep "^G"
cat svn.log|grep "^C"
+
+) | $PAGER