Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-06-13 09:32:57


Author: troy
Date: 2007-06-13 09:32:56 EDT (Wed, 13 Jun 2007)
New Revision: 7029
URL: http://svn.boost.org/trac/boost/changeset/7029

Log:

Check out to a temporary copy and rsync from there. Reduces load on
svn server.

 

Text files modified:
   sandbox-branches/boost-cmake/dart-client/initialize.sh | 9 ++++++++-
   1 files changed, 8 insertions(+), 1 deletions(-)

Modified: sandbox-branches/boost-cmake/dart-client/initialize.sh
==============================================================================
--- sandbox-branches/boost-cmake/dart-client/initialize.sh (original)
+++ sandbox-branches/boost-cmake/dart-client/initialize.sh 2007-06-13 09:32:56 EDT (Wed, 13 Jun 2007)
@@ -54,6 +54,12 @@
 cd $scriptdir
 topdir=`pwd`
 
+#
+# recheckout to local copy
+#
+rm -rf src.tmp
+$svn_bin co $srcurl src.tmp
+
 for variant in debug release
 do
   for rate in nightly continuous
@@ -61,7 +67,8 @@
     builddir=$topdir/$variant/$rate
     rm -rf $builddir
     mkdir -p $builddir/build
- $svn_bin co $srcurl $builddir/src
+ # instead of doing multiple checkouts and abusing the svn box, just rsync your temporary
+ rsync -a $topdir/src.tmp/ $builddir/src/
     cd $builddir/build
     rm -f CMakeCache.txt
     if [ "$variant" = "debug" ] ; then


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk