This is an archive of the discontinued Mercurial Phabricator instance.

revlog: explicitly set revlogv0 in vfs options
ClosedPublic

Authored by marmoute on Oct 1 2019, 8:33 AM.

Details

Summary

Relying on having an attribute or not for something so fundamental seems too
fragile to me. (And indeed I had issue with that later in this series). So we
explicitly record the fact the repository use revlog-v0.

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.Oct 1 2019, 8:33 AM
pulkit accepted this revision.Oct 1 2019, 10:38 AM
This revision is now accepted and ready to land.Oct 1 2019, 10:38 AM
martinvonz added inline comments.Oct 1 2019, 12:25 PM
mercurial/revlog.py
365–366

Needs updating

marmoute updated this revision to Diff 16748.Oct 1 2019, 12:37 PM
This revision was automatically updated to reflect the committed changes.