Config and Project repos should be sync'ed at revision 'default' by default (not 'tip')
authorDario Sestito <darios@symbian.org>
Wed, 27 Jan 2010 16:23:42 +0000
changeset 66 eb493282dec7
parent 65 d0bd2fd2c468
child 67 16acd1d8d322
Config and Project repos should be sync'ed at revision 'default' by default (not 'tip')
bootstrap.xml
--- a/bootstrap.xml	Wed Jan 27 14:08:37 2010 +0000
+++ b/bootstrap.xml	Wed Jan 27 16:23:42 2010 +0000
@@ -13,12 +13,12 @@
   
   <!-- config -->
   <property name="sf.config.repo" value=""/>
-  <property name="sf.config.rev" value="tip"/>
+  <property name="sf.config.rev" value="default"/>
   <property name="sf.config.dir" value=""/>
 
   <!-- project -->
   <property name="sf.project.repo" value=""/>
-  <property name="sf.project.rev" value="tip"/>
+  <property name="sf.project.rev" value="default"/>
   <property name="sf.project.dir" value=""/>
 
   <!-- Sanity check the supplied properties -->
@@ -108,12 +108,13 @@
             </exec>
           </then>
           <else>
-            <hlm:scm verbose="true" scmUrl="scm:hg:${repo.url}">
-              <hlm:checkout basedir="${sf.target.dir}/${subdir.name}"/>
-              <hlm:update basedir="${sf.target.dir}/${subdir.name}">
-                <hlm:tag name="${repo.rev}"/>
-              </hlm:update>
-            </hlm:scm>
+            <echo message="Cloning ${repo.url}#${repo.rev} to ${sf.target.dir}/${subdir.name}"/>
+            <exec executable="hg" dir="${sf.target.dir}">
+              <arg value="clone"/>
+              <arg value="-r${repo.rev}"/>
+              <arg value="${repo.url}"/>
+              <arg value="${subdir.name}"/>
+            </exec>
           </else>
         </if>
       </else>