( )⚙ D10576 revlog: use a "radix" to address revlog

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: use a "radix" to address revlog
ClosedPublic

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

Details

Summary

Instead of pointing to the index directly and to derive the other file from
that, we directly provide the radix and let the revlog determine the associated
file path internally. This is more robust and will give us more flexibility for
picking this file name in the future.

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:48 AM
baymax updated this revision to Diff 27491.May 3 2021, 9:43 PM

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

I will fix the typo in-flight.

contrib/dumprevlog
42

s/invalida/invalid/

Alphare accepted this revision.May 11 2021, 9:51 AM
This revision is now accepted and ready to land.May 11 2021, 9:51 AM
This revision was automatically updated to reflect the committed changes.