From 83df863b6c021768c026cdd0bc85f5ea89ee6ffc Mon Sep 17 00:00:00 2001 From: pasky Date: Fri, 11 Mar 2005 19:35:50 +0000 Subject: [PATCH] (svn r1992) Show the ./svnup.sh output in $PAGER (less if unset). --- svnup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/svnup.sh b/svnup.sh index a2d34f2220..bb0adee78f 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