( )⚙ D10306 revlog: move the "index header" struct inside revlog.utils.constants

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage