This is an archive of the discontinued Mercurial Phabricator instance.

revlog: move the "index header" struct inside revlog.utils.constants
ClosedPublic

Authored by marmoute on Apr 5 2021, 11:49 AM.

Details

Summary

The struct was previous called "version", but this is actually "version" +
"flags". So header seems like a better name.

The move to the constants module has the same motivation as the INDEX_ENTRY_V#
ones.

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.