HomePhabricator

revlog: rename `versionflags` to header

Authored by marmoute.

Description

revlog: rename versionflags to header

The variable is named as such because it contains "version" information and
"flags" information. However you mostly needs to know the code to understand the
name which is not great. The fact that this is the very first four bytes in all
revlog seems more relevant, so we rename the variable "header".

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

Details

Committed
marmouteMay 3 2021, 6:26 AM
Differential Revision
D10596: revlog: rename `versionflags` to header
Parents
rHGa13f72b9ccfb: revlog: move index reading logic in a dedicated method
Branches
Unknown
Tags
Unknown