HomePhabricator

revlog: have an explicit "pack_header" method

Authored by marmoute.

Description

revlog: have an explicit "pack_header" method

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…

Differential Revision: https://phab.mercurial-scm.org/D10510

Details

Committed
marmouteApr 1 2021, 5:31 AM
Differential Revision
D10510: revlog: have an explicit "pack_header" method
Parents
rHG5e64c93d5f94: revlog: remove the revlogio class
Branches
Unknown
Tags
Unknown