--- a/tests/test-bisect2.t Wed Sep 21 13:00:48 2011 -0500
+++ b/tests/test-bisect2.t Tue Sep 20 20:19:48 2011 +0200
@@ -252,6 +252,9 @@
$ hg bisect -b 17 # -> update to rev 6
Testing changeset 6:a214d5d3811a (15 changesets remaining, ~3 tests)
0 files updated, 0 files merged, 2 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 0:33b1f9bc8bc5
+ 17:228c06deef46
$ hg log -q -r 'bisect(untested)'
1:4ca5088da217
2:051e12f87bf1
@@ -305,22 +308,22 @@
17:228c06deef46
$ hg log -q -r 'bisect(pruned)'
0:33b1f9bc8bc5
+ 1:4ca5088da217
+ 2:051e12f87bf1
+ 3:0950834f0a9c
+ 4:5c668c22234f
+ 5:385a529b6670
6:a214d5d3811a
8:dab8161ac8fc
9:3c77083deb4a
10:429fcd26f52d
13:b0a32c86eb31
+ 15:857b178a7cf3
+ 16:609d82a7ebae
17:228c06deef46
$ hg log -q -r 'bisect(untested)'
- 1:4ca5088da217
- 2:051e12f87bf1
- 3:0950834f0a9c
- 4:5c668c22234f
- 5:385a529b6670
11:82ca6f06eccd
12:9f259202bbe7
- 15:857b178a7cf3
- 16:609d82a7ebae
complex bisect test 2 # first good rev is 13
@@ -332,16 +335,25 @@
$ hg bisect -s # -> update to rev 10
Testing changeset 10:429fcd26f52d (13 changesets remaining, ~3 tests)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 1:4ca5088da217
+ 6:a214d5d3811a
+ 18:d42e18c7bc9b
$ hg bisect -b # -> update to rev 12
Testing changeset 12:9f259202bbe7 (5 changesets remaining, ~2 tests)
3 files updated, 0 files merged, 1 files removed, 0 files unresolved
- $ hg log -q -r 'bisect(untested)'
+ $ hg log -q -r 'bisect(pruned)'
+ 1:4ca5088da217
2:051e12f87bf1
3:0950834f0a9c
4:5c668c22234f
5:385a529b6670
+ 6:a214d5d3811a
8:dab8161ac8fc
9:3c77083deb4a
+ 10:429fcd26f52d
+ 18:d42e18c7bc9b
+ $ hg log -q -r 'bisect(untested)'
11:82ca6f06eccd
12:9f259202bbe7
13:b0a32c86eb31
@@ -371,13 +383,6 @@
13:b0a32c86eb31
15:857b178a7cf3
18:d42e18c7bc9b
- $ hg log -q -r 'bisect(pruned)'
- 1:4ca5088da217
- 6:a214d5d3811a
- 10:429fcd26f52d
- 12:9f259202bbe7
- 13:b0a32c86eb31
- 18:d42e18c7bc9b
complex bisect test 3
@@ -389,6 +394,9 @@
$ hg bisect -b 16 # -> update to rev 6
Testing changeset 6:a214d5d3811a (13 changesets remaining, ~3 tests)
2 files updated, 0 files merged, 2 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 1:4ca5088da217
+ 16:609d82a7ebae
$ hg bisect -g # -> update to rev 13
Testing changeset 13:b0a32c86eb31 (8 changesets remaining, ~3 tests)
3 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -398,6 +406,16 @@
$ hg bisect -s # -> update to rev 12
Testing changeset 12:9f259202bbe7 (8 changesets remaining, ~3 tests)
3 files updated, 0 files merged, 1 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 1:4ca5088da217
+ 2:051e12f87bf1
+ 3:0950834f0a9c
+ 4:5c668c22234f
+ 5:385a529b6670
+ 6:a214d5d3811a
+ 10:429fcd26f52d
+ 13:b0a32c86eb31
+ 16:609d82a7ebae
$ hg bisect -g # -> update to rev 9
Testing changeset 9:3c77083deb4a (5 changesets remaining, ~2 tests)
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -445,15 +463,6 @@
13:b0a32c86eb31
15:857b178a7cf3
16:609d82a7ebae
- $ hg log -q -r 'bisect(pruned)'
- 1:4ca5088da217
- 6:a214d5d3811a
- 9:3c77083deb4a
- 10:429fcd26f52d
- 12:9f259202bbe7
- 13:b0a32c86eb31
- 15:857b178a7cf3
- 16:609d82a7ebae
complex bisect test 4
@@ -471,9 +480,26 @@
$ hg bisect -b # -> update to rev 15
Testing changeset 15:857b178a7cf3 (3 changesets remaining, ~1 tests)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 8:dab8161ac8fc
+ 9:3c77083deb4a
+ 10:429fcd26f52d
+ 11:82ca6f06eccd
+ 12:9f259202bbe7
+ 13:b0a32c86eb31
+ 17:228c06deef46
$ hg bisect -s # -> update to rev 16
Testing changeset 16:609d82a7ebae (3 changesets remaining, ~1 tests)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(pruned)'
+ 8:dab8161ac8fc
+ 9:3c77083deb4a
+ 10:429fcd26f52d
+ 11:82ca6f06eccd
+ 12:9f259202bbe7
+ 13:b0a32c86eb31
+ 15:857b178a7cf3
+ 17:228c06deef46
$ hg bisect -s
Due to skipped revisions, the first good revision could be any of:
changeset: 15:857b178a7cf3
@@ -505,7 +531,10 @@
17:228c06deef46
$ hg log -q -r 'bisect(pruned)'
8:dab8161ac8fc
+ 9:3c77083deb4a
10:429fcd26f52d
+ 11:82ca6f06eccd
+ 12:9f259202bbe7
13:b0a32c86eb31
15:857b178a7cf3
16:609d82a7ebae
@@ -520,6 +549,8 @@
[255]
$ hg log -q -r 'bisect(range)'
$ hg log -q -r 'bisect(pruned)'
+ 7:50c76098bbf2
+ 14:faa450606157
$ hg bisect --reset
end at merge: 17 bad, 11 good (but 9 is first bad)
@@ -553,21 +584,22 @@
17:228c06deef46
$ hg log -q -r 'bisect(pruned)'
11:82ca6f06eccd
+ 12:9f259202bbe7
13:b0a32c86eb31
15:857b178a7cf3
+ 16:609d82a7ebae
17:228c06deef46
$ hg log -q -r 'bisect(untested)'
- 12:9f259202bbe7
- 16:609d82a7ebae
$ hg bisect --extend
Extending search to changeset 8:dab8161ac8fc
2 files updated, 0 files merged, 2 files removed, 0 files unresolved
$ hg log -q -r 'bisect(untested)'
- 12:9f259202bbe7
- 16:609d82a7ebae
$ hg bisect -g # dab8161ac8fc
Testing changeset 9:3c77083deb4a (3 changesets remaining, ~1 tests)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg log -q -r 'bisect(untested)'
+ 9:3c77083deb4a
+ 10:429fcd26f52d
$ hg bisect -b
The first bad revision is:
changeset: 9:3c77083deb4a
@@ -588,14 +620,14 @@
$ hg log -q -r 'bisect(pruned)'
8:dab8161ac8fc
9:3c77083deb4a
+ 10:429fcd26f52d
11:82ca6f06eccd
+ 12:9f259202bbe7
13:b0a32c86eb31
15:857b178a7cf3
+ 16:609d82a7ebae
17:228c06deef46
$ hg log -q -r 'bisect(untested)'
- 10:429fcd26f52d
- 12:9f259202bbe7
- 16:609d82a7ebae
user adds irrelevant but consistent information (here: -g 2) to bisect state
@@ -627,8 +659,9 @@
12:9f259202bbe7
13:b0a32c86eb31
$ hg log -q -r 'bisect(pruned)'
+ 2:051e12f87bf1
8:dab8161ac8fc
11:82ca6f06eccd
+ 12:9f259202bbe7
13:b0a32c86eb31
$ hg log -q -r 'bisect(untested)'
- 12:9f259202bbe7