This is an archive of the discontinued Mercurial Phabricator instance.

revlog: introduce an explicit `format_version` member in the index struct

Authored by marmoute on May 3 2021, 7:47 AM.



This will allow for cleaner check than assuming each version has a different
size. Unsurprisingly I am planning to use this to introduce more format variant.

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

marmoute created this revision.May 3 2021, 7:47 AM
baymax updated this revision to Diff 27482.May 3 2021, 9:43 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.May 7 2021, 8:57 AM
This revision is now accepted and ready to land.May 7 2021, 8:57 AM