Whamcloud - gitweb
Branch HEAD
authorbobijam <bobijam>
Fri, 25 Sep 2009 07:53:36 +0000 (07:53 +0000)
committerbobijam <bobijam>
Fri, 25 Sep 2009 07:53:36 +0000 (07:53 +0000)
'./lustrecvs -r xxxxx' should checkout lustre root directory using tag xxxxx,
while current lustrecvs will checkout lustre root directory using HEAD tag.

lustrecvs

index 86eb3cb..0cabc3d 100755 (executable)
--- a/lustrecvs
+++ b/lustrecvs
@@ -25,6 +25,8 @@ Usage: $progname <lustretag> <pindate>
 EOF
 }
 
+[ "$1" = "-r" ] && shift
+
 if [ -z "$LUSTRECVS_UPDATED" ] ; then
     echo "$progname: updating lustrecvs"
 
@@ -39,8 +41,6 @@ if [ -z "$LUSTRECVS_UPDATED" ] ; then
     exec "$0" "$@"
 fi
 
-[ "$1" = "-r" ] && shift
-
 buildtag="HEAD"
 lustretag="$1"
 shift