comparison tests/test-split.t @ 45840:527ce85c2e60

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
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Oct 2020 12:44:18 -0700
parents 84ce9ffc95ad
children b4694ef45db5
comparison
equal deleted inserted replaced
45839:ebee234d952a 45840:527ce85c2e60
87 87
88 $ touch dirty 88 $ touch dirty
89 $ hg add dirty 89 $ hg add dirty
90 $ hg split . 90 $ hg split .
91 abort: uncommitted changes 91 abort: uncommitted changes
92 [255] 92 [20]
93 $ hg forget dirty 93 $ hg forget dirty
94 $ rm dirty 94 $ rm dirty
95 95
96 Make a clean directory for future tests to build off of 96 Make a clean directory for future tests to build off of
97 97