Mercurial > public > mercurial-scm > hg-stable
diff tests/test-parseindex.t @ 26094:df41c7be16d6
reachableroots: construct and sort baseset in revset module
This can remove the dependency from changelog to revset, which seems a bit awkward
for me.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 28 Aug 2015 11:14:24 +0900 |
parents | be8a4e0800d8 |
children | 21fa3d3688f3 |
line wrap: on
line diff
--- a/tests/test-parseindex.t Fri Aug 21 16:12:24 2015 -0700 +++ b/tests/test-parseindex.t Fri Aug 28 11:14:24 2015 +0900 @@ -96,9 +96,9 @@ > print inst > EOF good heads: - 0: <baseset+ [0]> - 1: <baseset+ [0]> - -1: <baseset+ []> + 0: [0] + 1: [0] + -1: [] bad heads: 2: head out of range 10000: head out of range @@ -106,14 +106,14 @@ -10000: head out of range None: an integer is required good roots: - 0: <baseset+ [0]> - 1: <baseset+ [1]> - -1: <baseset+ [-1]> + 0: [0] + 1: [1] + -1: [-1] out-of-range roots are ignored: - 2: <baseset+ []> - 10000: <baseset+ []> - -2: <baseset+ []> - -10000: <baseset+ []> + 2: [] + 10000: [] + -2: [] + -10000: [] bad roots: None: an integer is required