This is an archive of the discontinued Mercurial Phabricator instance.

revlog: have an explicit "pack_header" method
ClosedPublic

Authored by marmoute on Apr 23 2021, 10:30 AM.

Details

Summary

Having to pass the version header when retrieving the binary version of every single entry is a bit silly. So we extract that special logic in its own method. This also prepare the move to newer revlog format, not storing the header within an actual entry…

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.