This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Ask the error message from `CommandError`
AbandonedPublic

Authored by acezar on Jul 21 2020, 10:06 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Avoid repeating the display part of the same error in different commands.
For example, a lot of commands while use the FindRoot Operation, rather than
having to display the same error message in different command, the command can
just return the proper error which know what is the appropriate message to
display.

Diff Detail

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