errors: introduce StateError and use it from commands and cmdutil
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`. Differential Revision: https://phab.mercurial-scm.org/D9310
Showing
- hgext/transplant.py 2 additions, 2 deletionshgext/transplant.py
- mercurial/cmdutil.py 7 additions, 7 deletionsmercurial/cmdutil.py
- mercurial/commands.py 11 additions, 11 deletionsmercurial/commands.py
- mercurial/error.py 7 additions, 0 deletionsmercurial/error.py
- mercurial/scmutil.py 2 additions, 0 deletionsmercurial/scmutil.py
- tests/test-absorb-unfinished.t 1 addition, 1 deletiontests/test-absorb-unfinished.t
- tests/test-branch-change.t 2 additions, 2 deletionstests/test-branch-change.t
- tests/test-commit-unresolved.t 1 addition, 1 deletiontests/test-commit-unresolved.t
- tests/test-fetch.t 1 addition, 1 deletiontests/test-fetch.t
- tests/test-fix.t 1 addition, 1 deletiontests/test-fix.t
- tests/test-graft-interrupted.t 2 additions, 2 deletionstests/test-graft-interrupted.t
- tests/test-graft.t 3 additions, 3 deletionstests/test-graft.t
- tests/test-histedit-arguments.t 4 additions, 4 deletionstests/test-histedit-arguments.t
- tests/test-histedit-edit.t 4 additions, 4 deletionstests/test-histedit-edit.t
- tests/test-histedit-merge-tools.t 1 addition, 1 deletiontests/test-histedit-merge-tools.t
- tests/test-histedit-no-change.t 1 addition, 1 deletiontests/test-histedit-no-change.t
- tests/test-largefiles-misc.t 1 addition, 1 deletiontests/test-largefiles-misc.t
- tests/test-merge-subrepos.t 1 addition, 1 deletiontests/test-merge-subrepos.t
- tests/test-merge1.t 1 addition, 1 deletiontests/test-merge1.t
- tests/test-merge5.t 1 addition, 1 deletiontests/test-merge5.t
Loading
-
mentioned in commit 994280ebc28d
-
mentioned in commit f4f07cc92a47
Please register or sign in to comment