( )⚙ D10567 revlog: introduce an explicit `format_version` member in the index struct

This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Summary

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

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

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