summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
diff options
context:
space:
mode:
authorHDF Admin <hdfadmin@ncsa.uiuc.edu>2006-07-09 00:26:11 (GMT)
committerHDF Admin <hdfadmin@ncsa.uiuc.edu>2006-07-09 00:26:11 (GMT)
commit9161a29d8315c8c61f4e993bf272dddde0e1e6ec (patch)
treed7eebb31c462562f19b1b01e660f32be55e0f5f2 /bin/snapshot
parentae0bd80fffd810b846de98f51cd780fb9d4fbb4a (diff)
downloadhdf5-9161a29d8315c8c61f4e993bf272dddde0e1e6ec.zip
hdf5-9161a29d8315c8c61f4e993bf272dddde0e1e6ec.tar.gz
hdf5-9161a29d8315c8c61f4e993bf272dddde0e1e6ec.tar.bz2
[svn-r12458] Converted to use svn instead of cvs. The cvs setup and commands are
still retained for comparison and maybe removed later.
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-xbin/snapshot9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/snapshot b/bin/snapshot
index a6c3494..2c079db 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -285,8 +285,10 @@ PREVIOUS=${BASEDIR}/previous
HOSTNAME=`hostname | cut -f1 -d.` # no domain part
if [ $H5VERSION != hdf5 ]; then
CVSVERSION="-r $H5VERSION"
+ SVNVERSION="hdf5/branches/$H5VERSION"
else
CVSVERSION= # use the default (main) version
+ SVNVERSION=hdf5/trunk # use the default (trunk) version
fi
# Try finding a version of diff that supports the -I option too.
@@ -316,8 +318,10 @@ if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then
echo "CVSROOT not defined!" 1>&2
exit 1
fi
+ SVNROOT=http://sleipnir.hdfgroup.uiuc.edu/svn/repos
# Check out the current version from CVS
- (cd $BASEDIR; cvs -Q co -P -d current ${CVSVERSION} hdf5 ) || exit 1
+ # (cd $BASEDIR; cvs -Q co -P -d current ${CVSVERSION} hdf5 ) || exit 1
+ (cd $BASEDIR; svn -q co ${SVNROOT}/${SVNVERSION} current ) || exit 1
fi # Do CVS checkout
@@ -437,7 +441,8 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
echo "Making snapshot release ($RELEASE_VERSION) to ${ARCHIVES}..."
bin/release -d $ARCHIVES $METHODS
perl bin/h5vers -i
- cvs -Q commit -m "Snapshot $RELEASE_VERSION"
+ # cvs -Q commit -m "Snapshot $RELEASE_VERSION"
+ svn -q commit -m "Snapshot $RELEASE_VERSION"
)
errcode=$?
fi