Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Branch HEAD
[fs/lustre-release.git]
/
lustrecvs
diff --git
a/lustrecvs
b/lustrecvs
index
a76333e
..
d6afe49
100755
(executable)
--- a/
lustrecvs
+++ b/
lustrecvs
@@
-27,7
+27,14
@@
EOF
if [ -z "$LUSTRECVS_UPDATED" ] ; then
echo "$progname: updating lustrecvs"
if [ -z "$LUSTRECVS_UPDATED" ] ; then
echo "$progname: updating lustrecvs"
- cvs up -l || fatal 1 "Error updating lustrecvs"
+
+ # If checking out a specific tag, make sure all of the files here are also
+ # checked out with the same tag to avoid later changes breaking things.
+ case "$1" in
+ v*|b_release_*) TAG="-r $1" ;;
+ esac
+
+ cvs update -l $TAG
export LUSTRECVS_UPDATED=yes
exec "$0" "$@"
fi
export LUSTRECVS_UPDATED=yes
exec "$0" "$@"
fi