That's off the end of the revlog, and previously I think this was
getting lucky because the off-the-end spot was occupied by the nullrev
or something like that.
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGXc83b2b6688c6: basestore: stop looking at the Nth item of an N-length revlog
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
remotefilelog/basestore.py | ||
---|---|---|
162 | This should be using cl.revs(), which does support reverse iteration if the start rev is larger than end rev. |
remotefilelog/basestore.py | ||
---|---|---|
162 | Good suggestion! |
Comment Actions
Probably a consequence of https://www.mercurial-scm.org/repo/hg/rev/a3dacabd476b or some other commit in that series.
This should be using cl.revs(), which does support reverse iteration if the start rev is larger than end rev.