This is a follow-up to 781b2720d2ac (index: don't include nullid in
len(), 2018-07-20). I intentionally didn't update the "index stats",
so it will also not include the space for nullid after this patch.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG52e9bf215f96: index: don't include nullid in the internal "length" field
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Can I interest you in adding a test for len(index) to test-parseindex2.py? I suspect we have some differences between pure and C code right now...
Comment Actions
Ah, that test is already failing. I sent D4241 to fix that. I think it already checks the length via the == operator (i.e. py_res_1 != c_res_1 would have failed if the length didn't match).