ossp-pkg/lmtp2nntp/devtool.conf 1.17 -> 1.18
--- devtool.conf 2004/03/19 14:55:46 1.17
+++ devtool.conf 2004/06/15 12:01:49 1.18
@@ -3,9 +3,32 @@
##
%checkout
+ BRANCH_EX="EX_1_0_4"
+ BRANCH_STR="STR_0_9_9"
+ BRANCH_L2="L2_0_9_8"
+ BRANCH_SA="SA_1_2_1"
+ BRANCH_VAR="VAR_1_1_0"
+ BRANCH_VAL="VAL_0_9_2"
+ BRANCH_POPT=""
+ BRANCH_PCRE=""
+ BRANCH_TAI=""
for name in ex str l2 sa var val popt pcre tai; do
echo "===> lib_${name} (cvs co)"
- cvs co -d lib_${name} ${name}
+ release=BRANCH_`echo ${name} | tr [a-z] [A-Z]`
+ release=`eval echo \\$${release}`
+ if [ ".${release}" = . ]; then
+ if [ -d lib_${name}/CVS ]; then
+ ( cd lib_${name} && cvs up -A )
+ else
+ cvs co -A -d lib_${name} ${name}
+ fi
+ else
+ if [ -d lib_${name}/CVS ]; then
+ ( cd lib_${name} && cvs up -r${release} )
+ else
+ cvs co -r${release} -d lib_${name} ${name}
+ fi
+ fi
echo "<=== lib_${name}"
done
|
|