Mercurial > public > mercurial-scm > hg
diff tests/test-bisect2.t @ 12007:652f71b235bf
bisect: add test for unrelated starting revisions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 20 Aug 2010 21:28:14 -0500 |
parents | 56c7c3209e1a |
children | 1ef9b0b5efec |
line wrap: on
line diff
--- 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