comparison tests/test-bisect @ 3044:fcadf7a32425

Merge with mpm
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 03 Sep 2006 06:06:02 -0400
parents d77022db1bca
children 61fcd9fac434
comparison
equal deleted inserted replaced
3043:2a4d4aecb2b4 3044:fcadf7a32425
1 #!/bin/sh
2
3 set -e
4
5 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
6 echo "[extensions]" >> $HGTMP/.hgrc
7 echo "hbisect=" >> $HGTMP/.hgrc
8
9 echo % init
10 hg init
11
12 echo % committing changes
13 count=0
14 echo > a
15 while test $count -lt 32 ; do
16 echo 'a' >> a
17 test $count -eq 0 && hg add
18 hg ci -m "msg $count" -d "$count 0"
19 echo % committed changeset $count
20 count=`expr $count + 1`
21 done
22
23 echo % log
24 hg log
25
26 echo % hg up -C
27 hg up -C
28
29 echo % bisect test
30 hg bisect init
31 hg bisect bad
32 hg bisect good 1
33 hg bisect good
34 hg bisect good
35 hg bisect good
36 hg bisect bad
37 hg bisect good