( )⚙ D11202 upgrade: avoid a traceback in case of unrecognized revlog

This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: avoid a traceback in case of unrecognized revlog
ClosedPublic

Authored by marmoute on Jul 20 2021, 2:40 AM.

Details

Summary

Without this, in case of revlog name not matching any know pattern we would get
a traceback. Raising a clear error seems simpler.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Jul 20 2021, 2:40 AM
pulkit accepted this revision.Jul 20 2021, 6:35 AM
This revision is now accepted and ready to land.Jul 20 2021, 6:35 AM