comparison en/ch08-branch.xml @ 746:d0160b0b1a9e

Merge with http://hg.serpentine.com/mercurial/book
author Dongsheng Song <dongsheng.song@gmail.com>
date Wed, 18 Mar 2009 20:32:37 +0800
parents cfdb601a3c8b 8366882f67f2
children
comparison
equal deleted inserted replaced
745:c2cefd9f9893 746:d0160b0b1a9e
518 effective, defence against people accidentally pushing changes 518 effective, defence against people accidentally pushing changes
519 from a <quote>bleeding edge</quote> branch to a 519 from a <quote>bleeding edge</quote> branch to a
520 <quote>stable</quote> branch. Such a hook might look like this 520 <quote>stable</quote> branch. Such a hook might look like this
521 inside the shared repo's <filename role="special"> 521 inside the shared repo's <filename role="special">
522 /.hgrc</filename>.</para> 522 /.hgrc</filename>.</para>
523 <programlisting>[hooks] pretxnchangegroup.branch = hg heads 523 <programlisting>[hooks]
524 --template '{branches} ' | grep mybranch</programlisting> 524 pretxnchangegroup.branch = hg heads --template '{branches} ' | grep mybranch</programlisting>
525 525
526 </sect1> 526 </sect1>
527 </chapter> 527 </chapter>
528 528
529 <!-- 529 <!--