This is an archive of the discontinued Mercurial Phabricator instance.

revlog: catch more specific exception in shortest()
ClosedPublic

Authored by yuja on Sep 25 2018, 9:33 AM.

Details

Summary

Since revlog._partialmatch() catches RevlogError coming from cext and
re-raises AmbiguousPrefixLookupError, catching RevlogError here seems
less correct.

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

yuja created this revision.Sep 25 2018, 9:33 AM
This revision was automatically updated to reflect the committed changes.