Mercurial > hg
view tests/test-revlog-ancestry.py.out @ 43946:ac627ed8a911
tests-pure: fixing test-parseindex2
This is a followup to D7603 (49fa0b31ee1d) which broke
the tests for pure Python implementation. There are two
divergences between pure and C implementations:
- the pure implementation would accept only -1 as slice end,
whereas C accepts both -1 and len(index)
- in pure Python, `headrevs` is provided by revlog.py, not
by the index.
Differential Revision: https://phab.mercurial-scm.org/D7707
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Fri, 20 Dec 2019 17:19:25 +0100 |
parents | a60dae060bc8 |
children |
line wrap: on
line source
Ancestors of 5 4 2 0 Ancestors of 6 and 5 4 3 2 1 0 Ancestors of 5 and 4 4 2 0 Ancestors of 7, stop at 6 6 Ancestors of 7, including revs 7 6 5 4 3 2 1 0 Ancestors of 7, 5 and 3, including revs 7 6 5 4 3 2 1 0 Descendants of 5 7 8 Descendants of 5 and 3 6 7 8 Descendants of 5 and 4 5 7 8