summaryrefslogtreecommitdiff
path: root/localvcsactions
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-09-16 20:52:22 +0000
committerJonas Smedegaard <dr@jones.dk>2007-09-16 20:52:22 +0000
commit4c96f16899299f9b1227fde34ba387a789f007ce (patch)
treebb3fdafd8bb7e0b8188910e1dbff01338e98955a /localvcsactions
parentf3af6e6633da2f5dd1a4c0494721f882554aeee4 (diff)
Fix CVS tagging (I hope).
Diffstat (limited to 'localvcsactions')
-rwxr-xr-xlocalvcsactions9
1 files changed, 4 insertions, 5 deletions
diff --git a/localvcsactions b/localvcsactions
index 0708638..a8923d4 100755
--- a/localvcsactions
+++ b/localvcsactions
@@ -21,9 +21,10 @@ for project in $projects; do
versys="CVS"
versysfile="cvs"
repository="$(cat $project/$target/CVS/Repository)"
- # Get Tag if available
- if [ -f $project/$target/CVS/Tag ]; then
- branch="$(egrep '^N' $project/$target/CVS/Tag | sed 's/^N//')"
+ # Get branch if available
+ if [ -f "$project/$target/CVS/Tag" ]; then
+# branch="$(egrep '^N' $project/$target/CVS/Tag | sed 's/^N//')"
+ branch="$(egrep '^T' $project/$target/CVS/Tag | sed 's/^T//')"
fi
tar_excludes="$tar_excludes --exclude CVSROOT --exclude .cvsignore"
fi
@@ -106,8 +107,6 @@ for project in $projects; do
echo " ** Building changelog of $versys project \"$project\" target \"$target\"${repository:+ (repository \"$repository\"${branch:+ branch \"$branch\"})}"
case $versys in
CVS)
-# ( cd $project/$target && cvs2cl --gmt -S --no-wrap -f ../$target.ChangeLog 2>&1 || exit 1 ) \
-# ( cd $project/$target && cvs2cl --gmt -S --no-wrap ${branch:+-F $branch} -f ../$target.ChangeLog 2>&1 || exit 1 ) \
( cd $project/$target && cvs2cl --gmt -S --no-wrap -F ${branch:-TRUNK} -f ../$target.ChangeLog 2>&1 || exit 1 ) \
| egrep -v '^cvs(pserver)? (server|log): Logging' || [ $? -lt 2 ] # catch grep failures
;;