HomePhabricator

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

Authored by marmoute.

Description

revlog: introduce an explicit format_version member in the index struct

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.

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