( )⚙ D10740 revlog: avoid raising no-arg RevlogError for internal flow control

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage