From 4c96f16899299f9b1227fde34ba387a789f007ce Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Sep 2007 20:52:22 +0000 Subject: Fix CVS tagging (I hope). --- localvcsactions | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'localvcsactions') 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 ;; -- cgit v1.2.3