Mercurial > hg
comparison tests/heredoctest.py @ 38848:c0d411ea6639
index: drop support for negative indexes into the index
I want index[i] to work for any valid revnum including -1 (as it
already does), and I also want len(index) to be the number of
revisions in the index (not counting the null revision), so it cannot
also support negative revision numbers other than -1 for nullid.
I didn't bother removing support for it from revlog v0.
Differential Revision: https://phab.mercurial-scm.org/D4019
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 20 Jul 2018 10:02:05 -0700 |
parents | 6a98f9408a50 |
children | 55fd0fefbec4 |
comparison
equal
deleted
inserted
replaced
38847:f3d394ea17db | 38848:c0d411ea6639 |
---|