Show More
@@ -92,7 +92,12 b' Clone and apply patch:' | |||
|
92 | 92 | |
|
93 | 93 | Error exit (issue4746) |
|
94 | 94 | |
|
95 | $ hg import ../c/p --config ui.patch='sh -c "exit 1"' | |
|
95 | $ cat >> exit1.py <<EOF | |
|
96 | > import sys | |
|
97 | > sys.exit(1) | |
|
98 | > EOF | |
|
99 | ||
|
100 | $ hg import ../c/p --config ui.patch="$PYTHON '`pwd`/exit1.py'" | |
|
96 | 101 | applying ../c/p |
|
97 | 102 | abort: patch command failed: exited with status 1 |
|
98 | 103 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now