Store error output from 'hg id' to help diagnose why it's failing at the moment.
authorSimon Howkins <simonh@symbian.org>
Tue, 21 Sep 2010 13:09:28 +0100
changeset 1232 cdda4a9d1d16
parent 1231 375598b9d7d6
child 1233 85e3fec18491
Store error output from 'hg id' to help diagnose why it's failing at the moment.
common/templates/source-spec.ant.xml.ftl
--- a/common/templates/source-spec.ant.xml.ftl	Mon Sep 20 17:00:21 2010 +0100
+++ b/common/templates/source-spec.ant.xml.ftl	Tue Sep 21 13:09:28 2010 +0100
@@ -47,7 +47,7 @@
         <!-- Convert source tag/branch to to changeset hash, in case it's a local tag on the server -->
         <retry tries="10" uniquename="${count}" failonerror="false">
             <sequential>
-                <exec executable="hg" failonerror="true" output="${ant['temp.build.dir']}/sf.sourcesync.${count}.checksum" error="nul:">
+                <exec executable="hg" failonerror="true" output="${ant['temp.build.dir']}/sf.sourcesync.${count}.checksum" error="${ant['temp.build.dir']}/sf.sourcesync.${count}.checksum.error.txt">
                     <arg value="id"/>
                     <arg value="${dollar}{sources.${count}.URL}"/>
                     <arg value="-r"/>