Mercurial > hg
comparison tests/test-basic.t @ 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 | 69883775b27d |
children | 21733e8c924f |
comparison
equal
deleted
inserted
replaced
43945:f98f0e3ddaa1 | 43946:ac627ed8a911 |
---|