source sync template - enabled getting the mercurial changes if you have sf.spec.sourcesync.archive set PDK_3.0.c
authorMattD <mattd@symbian.org>
Mon, 09 Nov 2009 19:16:05 +0000
changeset 746 12815724a053
parent 745 254f2526f619
child 747 76f9aaeefbab
source sync template - enabled getting the mercurial changes if you have sf.spec.sourcesync.archive set
common/templates/source-spec.ant.xml.ftl
--- a/common/templates/source-spec.ant.xml.ftl	Mon Nov 09 17:25:14 2009 +0000
+++ b/common/templates/source-spec.ant.xml.ftl	Mon Nov 09 19:16:05 2009 +0000
@@ -130,7 +130,11 @@
       		</if>
       		  <echo message="Writing BOM changes since ${dollar}{sf.previous.pdk.tag} for ${pkg_detail.dst}" />
       		  <echo file="${ant['build.drive']}/output/logs/BOM/changes.txt" append="true" message="${dollar}{line.separator}${pkg_detail.source}${dollar}{line.separator}${pkg_detail.dst}${dollar}{line.separator}${dollar}{line.separator}" />
-            <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" output="${ant['build.drive']}/output/logs/BOM/changes.txt" append="true">
+            <#if fast_sync > 
+              <exec executable="hg" dir="${pkg_detail.source}" output="${ant['build.drive']}/output/logs/BOM/changes.txt" append="true">
+            <#else>      		  
+              <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" output="${ant['build.drive']}/output/logs/BOM/changes.txt" append="true">
+            </#if>
                 <arg value="log"/>
                 <arg value="-r"/>
                 <arg value="${dollar}{sf.sourcesync.${count}.checksum}:${dollar}{sf.previous.pdk.tag}"/>