( )⚙ D11006 remotefilelog: stop using RuntimeError for control flow

This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: stop using RuntimeError for control flow
ClosedPublic

Authored by durin42 on Jul 7 2021, 2:12 PM.

Details

Summary

We introduce a new exception to handle the various failure categories,
rather than relying on RuntimeError.

Diff Detail

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

Event Timeline

durin42 created this revision.Jul 7 2021, 2:12 PM
pulkit accepted this revision.Jul 8 2021, 4:02 AM
This revision is now accepted and ready to land.Jul 8 2021, 4:02 AM
This revision was automatically updated to reflect the committed changes.
Alphare added a subscriber: Alphare.Jul 8 2021, 7:54 AM

I amended this change to add the different error message in py2 FYI