errors: introduce CanceledError and use it in a few places
This very similar to earlier patches (e.g. for `InputError`) and part of https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. Differential Revision: https://phab.mercurial-scm.org/D9339
Showing
- hgext/absorb.py 1 addition, 1 deletionhgext/absorb.py
- mercurial/commands.py 3 additions, 3 deletionsmercurial/commands.py
- mercurial/crecord.py 1 addition, 1 deletionmercurial/crecord.py
- mercurial/error.py 7 additions, 0 deletionsmercurial/error.py
- mercurial/exchange.py 1 addition, 1 deletionmercurial/exchange.py
- mercurial/patch.py 1 addition, 1 deletionmercurial/patch.py
- mercurial/scmutil.py 2 additions, 0 deletionsmercurial/scmutil.py
- mercurial/ui.py 1 addition, 1 deletionmercurial/ui.py
- tests/test-commit-interactive.t 3 additions, 3 deletionstests/test-commit-interactive.t
- tests/test-commit.t 1 addition, 1 deletiontests/test-commit.t
- tests/test-editor-filename.t 3 additions, 3 deletionstests/test-editor-filename.t
- tests/test-rebase-collapse.t 1 addition, 1 deletiontests/test-rebase-collapse.t
- tests/test-rebase-transaction.t 1 addition, 1 deletiontests/test-rebase-transaction.t
- tests/test-resolve.t 3 additions, 3 deletionstests/test-resolve.t
- tests/test-revert-interactive.t 1 addition, 1 deletiontests/test-revert-interactive.t
- tests/test-split.t 1 addition, 1 deletiontests/test-split.t
Loading
Please register or sign in to comment