This is an archive of the discontinued Mercurial Phabricator instance.

revlog: add attribute on revlogs that specifies its kind

Authored by Alphare on Mar 10 2021, 1:36 PM.



The sidedata logic needs to check whether the revlog it's working on is a
changelog, a manifest or a filelog.
Furthermore, future versions of the revlog format will most likely see a split
between the three types (i.e. they will store different information), so having
this will be useful for other future endeavors as well.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Mar 10 2021, 1:36 PM
marmoute accepted this revision.Mar 11 2021, 1:14 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.