[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/scripts
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-03-24 21:50:56
Message-ID: 20050324215056.BBEFC3EC () office ! kde ! org
[Download RAW message or body]

CVS commit by thiago: 

Changing the warning to a hint instead. And adding an option to silence it.


  M +6 -2      svnlastchange   1.3


--- kdesdk/scripts/svnlastchange  #1.2:1.3
@@ -9,6 +9,10 @@
     exit 1
 fi
-echo >&2 "Warning: svnlastchange is superfluous"
-echo >&2 "Use svn log -r COMMITTED and svn diff -r PREV:COMMITTED"
+
+if [ "$1" == "-q" ]; then
+    shift
+else
+    echo >/dev/tty "Hint: Use svn log -r COMMITTED and svn diff -r PREV:COMMITTED"
+fi
 
 svn log -r COMMITTED "$*"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic