common/templates/tag-hg-code.ant.xml.ftl
changeset 1141 08f7282dae54
parent 1083 a91d8608229c
child 1277 2ea5b5b66973
--- a/common/templates/tag-hg-code.ant.xml.ftl	Tue Jul 06 16:30:27 2010 +0100
+++ b/common/templates/tag-hg-code.ant.xml.ftl	Tue Jul 06 17:02:03 2010 +0100
@@ -61,6 +61,8 @@
 				<arg value="-i"/>
 				<arg value="${pkg_detail.dst}"/>
 			</exec>
+			<!-- Remove any '+' on the end of the hash (indicating that the package overwrote some of its own source files during the build) -->
+			<propertyregex property="hash12.${count}" override="true" input="${dollar}{hash12.${count}}" regexp="\+$" replace=""/>
 			<!-- Get the full hash id -->
 			<exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="hash40.${count}" logError="true">
 				<arg value="log"/>