Mercurial > public > mercurial-scm > hg-stable
diff tests/test-revlog-ancestry.py.out @ 18081:f88c60e740a1
revlog.ancestors: add support for including revs
This is in preparation for an upcoming refactoring. This also fixes a bug in
incancestors, where if an element of revs was an ancestor of another it would
be generated twice.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 17 Dec 2012 15:13:51 -0800 |
parents | eb88ed4269c5 |
children | b6db2e80a9ce |
line wrap: on
line diff
--- a/tests/test-revlog-ancestry.py.out Fri Dec 14 10:23:18 2012 -0800 +++ b/tests/test-revlog-ancestry.py.out Mon Dec 17 15:13:51 2012 -0800 @@ -6,6 +6,10 @@ 4 2 0 Ancestors of 7, stop at 6 6 +Ancestors of 7, including revs +7 6 5 3 4 2 1 0 +Ancestors of 7, 5 and 3, including revs +7 5 3 6 4 2 1 0 Descendants of 5 7 8