This is an archive of the discontinued Mercurial Phabricator instance.

tests-pure: fixing test-parseindex2
AbandonedPublic

Authored by gracinet on Dec 20 2019, 11:24 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

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.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage