This is an archive of the discontinued Mercurial Phabricator instance.

revlog: avoid raising no-arg RevlogError for internal flow control
ClosedPublic

Authored by martinvonz on May 19 2021, 1:47 AM.

Details

Summary

I'm about to make RevlogError require a message argument and this
code was failing. This patch refactors it to not raise an exception
for intra-function flow control.

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.