ossp-pkg/fsl/devtool.conf 1.24 -> 1.25
--- devtool.conf 2005/02/02 12:50:42 1.24
+++ devtool.conf 2005/02/02 12:52:11 1.25
@@ -3,9 +3,29 @@
##
%checkout
+ BRANCH_L2="L2_0_9_9"
+ BRANCH_CFG="CFG_0_9_8"
+ BRANCH_PCRE=""
for name in l2 cfg pcre; 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
+ echo "===> lib_${name} (cvs up HEAD)"
+ ( cd lib_${name} && cvs up -A )
+ else
+ echo "===> lib_${name} (cvs co HEAD)"
+ cvs co -A -d lib_${name} ${name}
+ fi
+ else
+ if [ -d lib_${name}/CVS ]; then
+ echo "===> lib_${name} (cvs up ${release})"
+ ( cd lib_${name} && cvs up -r${release} )
+ else
+ echo "===> lib_${name} (cvs co ${release})"
+ cvs co -r${release} -d lib_${name} ${name}
+ fi
+ fi
echo "<=== lib_${name}"
done
|
|