common/templates/source-spec.ant.xml.ftl
changeset 49 8535c19456ea
parent 48 758d416f5872
child 50 bc5aff47cabb
equal deleted inserted replaced
48:758d416f5872 49:8535c19456ea
    23                 <hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}">
    23                 <hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}">
    24                     <hlm:latestTag pattern="${pkg_detail.tag}">
    24                     <hlm:latestTag pattern="${pkg_detail.tag}">
    25                         <hlm:tagSet refid="hg.tags.id${dollar}{refid}" />
    25                         <hlm:tagSet refid="hg.tags.id${dollar}{refid}" />
    26                     </hlm:latestTag>
    26                     </hlm:latestTag>
    27                 </hlm:update>
    27                 </hlm:update>
    28                 <exec command="hg identify -n" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.repo.n"/>
       
    29                 <exec command="hg identify -i" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.repo.i"/>
       
    30                 <echo message="dir ${ant['build.drive']}${pkg_detail.dst} : revision ${sf.sourcesync.repo.n}:${sf.sourcesync.repo.i}"/>
       
    31             </hlm:scm>
    28             </hlm:scm>
    32             
    29             
    33             <!-- record info on sf-config repo/rev -->
    30             <!-- record info on sf-config repo/rev -->
    34             <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.${count}.rev">
    31             <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.${count}.rev">
    35                 <arg value="identify"/>
    32                 <arg value="identify"/>