hgbook

diff en/examples/bisect @ 547:c4d24e64ec1f

Change output of cmdref
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Jan 29 22:30:48 2009 -0800 (2009-01-29)
parents 73b094b764ec d13a05515acf
children b08f6a61bf15
line diff
     1.1 --- a/en/examples/bisect	Thu Jan 15 10:13:51 2009 +0100
     1.2 +++ b/en/examples/bisect	Thu Jan 29 22:30:48 2009 -0800
     1.3 @@ -1,7 +1,11 @@
     1.4  #!/bin/bash
     1.5  
     1.6 +if  hg -v | head -1 | grep -e "version 0.*"
     1.7 +then
     1.8 +#On mercurial 1.0 and later bisect is a builtin
     1.9  echo '[extensions]' >> $HGRC
    1.10  echo 'hbisect =' >> $HGRC
    1.11 +fi
    1.12  
    1.13  # XXX There's some kind of horrible nondeterminism in the execution of
    1.14  # bisect at the moment.  Ugh.