##// END OF EJS Templates
bisect: handle search for bad to good transitions...
bisect: handle search for bad to good transitions Automatically detect whether we're looking for a bad to good transition rather than the usual good to bad transition by detecting when badrev is inside the good set and flipping good/bad.

File last commit:

r5776:35ec669c default
r5776:35ec669c default
Show More
test-bisect
43 lines | 586 B | text/plain | TextLexer
Giorgos Keramidas
tests: new test for the bisect extension
r2924 #!/bin/sh
set -e
echo % init
hg init
echo % committing changes
count=0
echo > a
while test $count -lt 32 ; do
echo 'a' >> a
test $count -eq 0 && hg add
hg ci -m "msg $count" -d "$count 0"
echo % committed changeset $count
Danek Duvall
Solaris portability fixes
r2932 count=`expr $count + 1`
Giorgos Keramidas
tests: new test for the bisect extension
r2924 done
echo % log
hg log
echo % hg up -C
hg up -C
echo % bisect test
Matt Mackall
bisect: use more standard command syntax and help
r5735 hg bisect -r
hg bisect -b
hg bisect -g 1
hg bisect -g
hg bisect -g
hg bisect -g
hg bisect -b
hg bisect -g
Matt Mackall
bisect: handle search for bad to good transitions...
r5776
echo % bisect reverse test
hg bisect -r
hg bisect -b null
hg bisect -g tip
hg bisect -g
hg bisect -g
hg bisect -g
hg bisect -b
hg bisect -g