X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustrecvs;h=1e86d0f8246979e18841432864328502f039b343;hb=7bd8ccb5af79ee79a41737ea3dd01e92cd30c640;hp=a76333ee53fa97c55e5ea5226461fae19b2068c1;hpb=4f3c56d7b0ae50f33507a60a85068d5bc3e2aa14;p=fs%2Flustre-release.git diff --git a/lustrecvs b/lustrecvs index a76333e..1e86d0f 100755 --- a/lustrecvs +++ b/lustrecvs @@ -27,7 +27,14 @@ EOF 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 @@ -81,6 +88,8 @@ case "$lustretag" in # this is the branch table # keep this list sorted alphabetically! + *_gate) buildtag="b_build_gate" ;; + *) buildtag="HEAD" ;; @@ -136,6 +145,16 @@ hg_cmd () return fi + if ! which hg &> /dev/null; then + cat <