This is an archive of the discontinued Mercurial Phabricator instance.

revlog: use separate variables to track version flags
ClosedPublic

Authored by indygreg on Jan 10 2019, 7:32 PM.

Details

Summary

It wasn't obvious to me that "versionflags" is used both to
define the default version+features value for new revlogs and
to track the value read from a revlog.

We rename the former use and add explicit assignment of
"versionflags" later to differentiate between the two.

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.

Event Timeline

indygreg created this revision.Jan 10 2019, 7:32 PM
yuja added a subscriber: yuja.Jan 12 2019, 10:24 PM

Queued up to this, thanks.

This revision was automatically updated to reflect the committed changes.