hgbook
diff en/examples/bisect @ 514:db12ab3b3b25
corrected some typos on the title page.
translated a couple of index entries
translated a couple of index entries
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Sun Jan 18 19:45:33 2009 -0500 (2009-01-18) |
parents | 7a6bd93174bd |
children | 51b5d56744c5 |
line diff
1.1 --- a/en/examples/bisect Mon Dec 31 20:06:58 2007 -0800 1.2 +++ b/en/examples/bisect Sun Jan 18 19:45:33 2009 -0500 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. 1.15 @@ -33,7 +37,11 @@ 1.16 1.17 #$ name: search.init 1.18 1.19 +if hg -v | head -1 | grep -e "version 0.*" 1.20 +then 1.21 +#On mercurial 1.0 --init disappeared 1.22 hg bisect --init 1.23 +fi 1.24 1.25 #$ name: search.bad-init 1.26