comparison tests/test-bisect @ 2956:6dddcba7596a

merge.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 18 Aug 2006 21:17:28 -0700
parents d77022db1bca
children 61fcd9fac434
comparison
equal deleted inserted replaced
2955:9d1c3529ebbc 2956:6dddcba7596a
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