Quantcast
Channel: BizKnowledge
Viewing all articles
Browse latest Browse all 54

Mercurial branching

$
0
0
It takes time to get used to a new source control management system, but Mercurial HG visualization sure helps. 
Branching default branch to 1.5.1 release and 1.6.1 release. Look at these rail tracks:







I'm build the 1.5.1 release and the 1.6.1 release from two different VM's. Just to keep everything separated. 

 <target name="refresh" depends="clean-test" description="Update the source from Mercurial">
  <!-- create the source directory if needed -->
  <mkdir dir="${source.dir}" failonerror="true" unless="${directory::exists('source.dir')}" />
  <mkdir dir="${drop.dir}" failonerror="true" unless="${directory::exists('drop.dir')}" />
  <exec program="hg" commandline='pull -u ${repository.mercurial.rulemanager} -R ${source.dir} -v --branch 1.5.1'  failonerror="false"  verbose="${verbose}"/>       
  </target>

Viewing all articles
Browse latest Browse all 54

Trending Articles