##// END OF EJS Templates
bisect: use more standard command syntax and help
bisect: use more standard command syntax and help

File last commit:

r5735:9079081b default
r5735:9079081b default
Show More
test-bisect
36 lines | 508 B | text/plain | TextLexer
Giorgos Keramidas
tests: new test for the bisect extension
r2924 #!/bin/sh
set -e
Thomas Arendsen Hein
Make tests append settings to $HGRCPATH instead of $HGTMP/.hgrc...
r2990 echo "[extensions]" >> $HGRCPATH
echo "hbisect=" >> $HGRCPATH
Giorgos Keramidas
tests: new test for the bisect extension
r2924
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