Mercurial > hg
changeset 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 | af00e58bd383 |
children | ce818cf215dc |
files | tests/test-bisect2.t |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
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