diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-09-16 20:52:22 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-09-16 20:52:22 +0000 |
commit | 4c96f16899299f9b1227fde34ba387a789f007ce (patch) | |
tree | bb3fdafd8bb7e0b8188910e1dbff01338e98955a | |
parent | f3af6e6633da2f5dd1a4c0494721f882554aeee4 (diff) |
Fix CVS tagging (I hope).
-rwxr-xr-x | localvcsactions | 9 |
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 ;; |