Added -n flag (newest first) to invocation of hg in, so that it gives us the most tip-ward revision that would be needed, not the oldest (revision 0 in almost all cases).
--- a/common/templates/source-spec.ant.xml.ftl Tue Mar 23 16:27:27 2010 +0000
+++ b/common/templates/source-spec.ant.xml.ftl Wed Mar 24 11:21:24 2010 +0000
@@ -43,6 +43,7 @@
<arg value="${pkg_detail.pattern}"/>
<arg value="-l"/>
<arg value="1"/>
+ <arg value="-n"/>
<arg value="--template"/>
<arg value="{node|short}"/>
<arg value="-q"/>