This is an archive of the discontinued Mercurial Phabricator instance.

errors: introduce StateError and use it from commands and cmdutil
ClosedPublic

Authored by martinvonz on Nov 12 2020, 11:37 AM.

Details

Summary

This very similar to an earlier patch (which was for InputError).

In this patch, I also updated the transplant extension only because
test-transplant.t would otherwise have needed a #if continueflag.

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.