# HG changeset patch # User Bernhard Leiner # Date 1217707854 -7200 # Node ID 6d904eb19c2aa178367b34f41d46dfe71046dc2a # Parent 9369095779a1c3de9904b3bb32b2b68c2faf5077 add additional bisect tests diff -r 9369095779a1 -r 6d904eb19c2a tests/test-bisect --- a/tests/test-bisect Sat Aug 02 22:11:22 2008 +0200 +++ b/tests/test-bisect Sat Aug 02 22:10:54 2008 +0200 @@ -53,4 +53,18 @@ hg bisect -r hg bisect -g null hg bisect -bU tip -hg id \ No newline at end of file +hg id + +# reproduce AssertionError (issue1228 and issue1182) +hg bisect -r +hg bisect -b 4 +hg bisect -g 0 +hg bisect -s +hg bisect -s +hg bisect -s + +# reproduce non converging bisect (issue1182) +hg bisect -r +hg bisect -g 0 +hg bisect -b 2 +hg bisect -s diff -r 9369095779a1 -r 6d904eb19c2a tests/test-bisect.out --- a/tests/test-bisect.out Sat Aug 02 22:11:22 2008 +0200 +++ b/tests/test-bisect.out Sat Aug 02 22:10:54 2008 +0200 @@ -241,3 +241,43 @@ error Testing changeset 15:e7fa0811edb0 (32 changesets remaining, ~5 tests) 5cd978ea5149 +Testing changeset 2:db07c04beaca (4 changesets remaining, ~2 tests) +1 files updated, 0 files merged, 0 files removed, 0 files unresolved +Testing changeset 1:5cd978ea5149 (4 changesets remaining, ~2 tests) +1 files updated, 0 files merged, 0 files removed, 0 files unresolved +Testing changeset 3:b53bea5e2fcb (4 changesets remaining, ~2 tests) +1 files updated, 0 files merged, 0 files removed, 0 files unresolved +Due to skipped revisions, the first bad revision could be any of: +changeset: 1:5cd978ea5149 +user: test +date: Thu Jan 01 00:00:01 1970 +0000 +summary: msg 1 + +changeset: 2:db07c04beaca +user: test +date: Thu Jan 01 00:00:02 1970 +0000 +summary: msg 2 + +changeset: 3:b53bea5e2fcb +user: test +date: Thu Jan 01 00:00:03 1970 +0000 +summary: msg 3 + +changeset: 4:9b2ba8336a65 +user: test +date: Thu Jan 01 00:00:04 1970 +0000 +summary: msg 4 + +Testing changeset 1:5cd978ea5149 (2 changesets remaining, ~1 tests) +1 files updated, 0 files merged, 0 files removed, 0 files unresolved +Due to skipped revisions, the first bad revision could be any of: +changeset: 1:5cd978ea5149 +user: test +date: Thu Jan 01 00:00:01 1970 +0000 +summary: msg 1 + +changeset: 2:db07c04beaca +user: test +date: Thu Jan 01 00:00:02 1970 +0000 +summary: msg 2 +