( )⚙ D9310 errors: introduce StateError and use it from commands and cmdutil

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