changeset 37459 | 90c5ca718781 |
parent 34661 | eb586ed5d8ce |
child 37872 | 6cc5d01a58a6 |
child 38126 | 0b39edeff033 |
--- a/tests/test-patch.t Sat Apr 07 20:50:38 2018 +0900 +++ b/tests/test-patch.t Sat Apr 07 21:09:21 2018 +0900 @@ -89,4 +89,12 @@ # User lines looks like this - but it _is_ just a comment + +Error exit (issue4746) + + $ hg import ../c/p --config ui.patch='sh -c "exit 1"' + applying ../c/p + abort: patch command failed: exited with status 1 + [255] + $ cd ..