I think the "-2" to mean "last position in index, not counting the
null revision at the end" is an implementation detail of the index
that we should avoid spreading knowledge of. I hope we can even remove
support for index[-2].
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG119d14f41cb2: revlog: remove some knowledge of sentinel nullid in index
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped