# HG changeset patch # User Igor Tmara # Date 1224327741 18000 # Node ID d13a05515acfe232868b44eeb8fde7304d105d3d # Parent 3502b859cfe470f49524a627874fa439f010bd80 Fixing problem on bisect that inhibits building with mercurial 1.0 or later diff -r 3502b859cfe4 -r d13a05515acf en/examples/bisect --- a/en/examples/bisect Sat Oct 18 03:27:44 2008 -0500 +++ b/en/examples/bisect Sat Oct 18 06:02:21 2008 -0500 @@ -1,7 +1,11 @@ #!/bin/bash +if hg -v | head -1 | grep -e "version 0.*" +then +#On mercurial 1.0 and later bisect is a builtin echo '[extensions]' >> $HGRC echo 'hbisect =' >> $HGRC +fi # XXX There's some kind of horrible nondeterminism in the execution of # bisect at the moment. Ugh. @@ -33,7 +37,11 @@ #$ name: search.init +if hg -v | head -1 | grep -e "version 0.*" +then +#On mercurial 1.0 --init disappeared hg bisect --init +fi #$ name: search.bad-init