( )⚙ D10238 rhg: Add more conversions between error types

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Add more conversions between error types
ClosedPublic

Authored by SimonSapin on Mar 19 2021, 8:28 AM.

Details

Summary

This allows using the ? operator in more places, as the next commit does.

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

SimonSapin created this revision.Mar 19 2021, 8:28 AM
pulkit accepted this revision.Mar 22 2021, 5:33 AM
pulkit added a subscriber: pulkit.

Thanks, this will definitely help with my detailed_exit_code work.

This revision is now accepted and ready to land.Mar 22 2021, 5:33 AM
This revision was automatically updated to reflect the committed changes.