bisect: add test for unrelated starting revisions
authorMatt Mackall <mpm@selenic.com>
Fri, 20 Aug 2010 21:28:14 -0500
changeset 12007 652f71b235bf
parent 12006 af00e58bd383
child 12010 ce818cf215dc
bisect: add test for unrelated starting revisions
tests/test-bisect2.t
--- a/tests/test-bisect2.t	Fri Aug 20 21:23:47 2010 -0500
+++ b/tests/test-bisect2.t	Fri Aug 20 21:28:14 2010 -0500
@@ -23,9 +23,6 @@
 #                 |
 #                 0
 
-
-  $ set -e
-
 init
 
   $ hg init
@@ -389,3 +386,11 @@
   date:        Thu Jan 01 00:00:17 1970 +0000
   summary:     17
   
+
+test unrelated revs:
+
+  $ hg bisect --reset
+  $ hg bisect -b 7
+  $ hg bisect -g 14
+  abort: starting revisions are not directly related
+  $ hg bisect --reset