Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7370f26
)
Don't fail if Tag is not found.
author
adilger
<adilger>
Mon, 9 May 2005 06:02:39 +0000
(06:02 +0000)
committer
adilger
<adilger>
Mon, 9 May 2005 06:02:39 +0000
(06:02 +0000)
build/cvsdiffclient
patch
|
blob
|
history
diff --git
a/build/cvsdiffclient
b/build/cvsdiffclient
index
ed6b876
..
ee14ecc
100644
(file)
--- a/
build/cvsdiffclient
+++ b/
build/cvsdiffclient
@@
-25,7
+25,8
@@
if [ -f $TMP ]; then
else
[ -r CVS/Tag ] && TAG=CVS/Tag
[ -z "$TAG" -a -r lustre/CVS/Tag ] && TAG=lustre/CVS/Tag
- echo "CVS: Branch: `sed 's/^T//' $TAG`" >> $TMP
+ [ "$TAG" ] && BRANCH="`sed 's/^T//' $TAG`" || BRANCH="HEAD"
+ echo "CVS: Branch $BRANCH" >> $TMP
fi
echo "CVS: did you update the ChangeLog for a bug fix?" >> $TMP
echo "CVS: did you update the hours spent in Bugzilla?" >> $TMP