( )⚙ D4996 revlog: update pure nodecache start lookup offset on insertion

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: update pure nodecache start lookup offset on insertion
ClosedPublic

Authored by indygreg on Oct 12 2018, 10:19 AM.

Details

Summary

test-storage.py is failing in pure builds because the population of the node
cache isn't accounting for the new starting offset after a revlog insertion.

This commit updates the node cache start offset to account for insertions.

I'm not 100% convinced this is the ideal solution. But it works and seems
correct.

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

indygreg created this revision.Oct 12 2018, 10:19 AM
This revision was automatically updated to reflect the committed changes.