( )⚙ D10666 revlog: do not call Rust code if the index is not compatible with it

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: do not call Rust code if the index is not compatible with it
ClosedPublic

Authored by marmoute on May 4 2021, 10:16 AM.

Details

Summary

This will avoid hitting the TypeError we defined in the previous changesets.
This is the simplest fix but not the most elegant.

Ideally we would teach the Rust code to use any kind of revlog. However this is
an adventure for another time.

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 4 2021, 10:16 AM
baymax edited the summary of this revision. (Show Details)May 4 2021, 4:46 PM
baymax updated this revision to Diff 27580.

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

marmoute updated this revision to Diff 27620.May 6 2021, 5:22 AM
baymax updated this revision to Diff 27905.May 11 2021, 1:47 PM

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

Alphare accepted this revision.May 17 2021, 5:49 PM
This revision is now accepted and ready to land.May 17 2021, 5:49 PM