# HG changeset patch # User Simon Howkins # Date 1274815836 -3600 # Node ID 871bdf0d761034876b07082970033202a728c461 # Parent d822afc3c0442c6cb3747147990263da23d9cd93 Updated template for tagging source code so it uses the TAGS branch. diff -r d822afc3c044 -r 871bdf0d7610 common/templates/tag-hg-code.ant.xml.ftl --- a/common/templates/tag-hg-code.ant.xml.ftl Mon May 17 15:45:32 2010 +0100 +++ b/common/templates/tag-hg-code.ant.xml.ftl Tue May 25 20:30:36 2010 +0100 @@ -1,37 +1,108 @@ -<#assign target_depends = "" /> -<#assign count = 0 /> + <#assign dollar = "$"/> + + <#assign target_depends = "" /> + <#assign count = 0 /> + + <#list data as pkg_detail> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <#if (count > 0) > + <#assign target_depends ="${target_depends}" + ", "/> + + <#assign target_depends = "${target_depends}" + "sf-tag-hg-code-${count}" /> + + <#assign count = count + 1 /> + + + -<#list data as pkg_detail> - - - - - - - - - - - - - - - - - - <#if (count == 0) > - <#assign target_depends = "${target_depends}" + "sf-tag-hg-code-${count}" /> - - <#if (count > 0) > - <#assign target_depends ="${target_depends}" + ","+"sf-tag-hg-code-${count}"/> - - - <#assign count = count + 1 /> - - - - - \ No newline at end of file +