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
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.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