use local repository
authorJohn Kern <johnk@symbian.org>
Tue, 27 Jul 2010 14:38:19 -0700
changeset 453 cf2b238bfff2
parent 452 68002774437e
child 486 f0031abe2cd6
use local repository
scripts/shepard.sh
--- a/scripts/shepard.sh	Wed Jul 21 10:18:21 2010 -0700
+++ b/scripts/shepard.sh	Tue Jul 27 14:38:19 2010 -0700
@@ -3,6 +3,7 @@
 set -x 
 
 SCRIPTS_DIR=/home/symbian/wrttools/scripts
+LOCAL_REPO_DIR=/home/symbian/local-repo/wrttools
 BASE_DIR=/home/symbian/scratch/build_dir
 ECLIPSE_TIMESTAMP=`date +%Y%m%d%H%M%S`-${BUILD_NUMBER:-NO_BUILD_NUMBER}
 HG_CMD=/usr/local/bin/hg
@@ -21,9 +22,14 @@
 
 mkdir -p ${WS_DIR}
 
+# synchronize local cache with http://developer.symbian.org/oss/MCL/sftools/dev/eclipseenv/wrttools/ 
+cd ${LOCAL_REPO_DIR}
+${HG_CMD} pull
+${HG_CMD} update 
+
 # check out the code.
 cd ${WS_DIR}
-${HG_CMD} clone http://developer.symbian.org/oss/MCL/sftools/dev/eclipseenv/wrttools/ 
+${HG_CMD} clone ${LOCAL_REPO_DIR}
 
 cd ${SOURCE_DIR}/scripts