diff tests/test-bisect @ 7557:21233de9c053

Circumvent removal of valid bisect candidates due to previously skipped ones As reported in issue 1445: A valid candidate revision for a bisect test is not considered for testing due to its skipped ancestor. If this revision is the only untested one left an assertion error occurs.
author Bernhard Leiner <bleiner@gmail.com>
date Sat, 27 Dec 2008 19:05:26 +0100
parents ca6103c5eefd
children ca14b3982ffe
line wrap: on
line diff
--- a/tests/test-bisect	Wed Dec 31 15:04:18 2008 +0100
+++ b/tests/test-bisect	Sat Dec 27 19:05:26 2008 +0100
@@ -72,3 +72,13 @@
 echo % test no action
 hg bisect -r
 hg bisect || echo failure
+
+echo % reproduce AssertionError, issue1445
+hg bisect -r
+hg bisect -b 6
+hg bisect -g 0
+hg bisect -s
+hg bisect -s
+hg bisect -s
+hg bisect -s 
+hg bisect -g