HomePhabricator

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

Authored by marmoute.

Description

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

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.

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