Show More
@@ -514,8 +514,11 b' print the filename if it is relevant.' | |||
|
514 | 514 | $ printf "hello\n" > hello.txt |
|
515 | 515 | $ hg add |
|
516 | 516 | adding hello.txt |
|
517 | $ hg --config "fix.fail:command=printf 'HELLO\n' ; \ | |
|
518 | > printf '{rootpath}: some\nerror' >&2" \ | |
|
517 | $ cat >> $TESTTMP/cmd.sh <<'EOF' | |
|
518 | > printf 'HELLO\n' | |
|
519 | > printf "$@: some\nerror" >&2 | |
|
520 | > EOF | |
|
521 | $ hg --config "fix.fail:command=sh $TESTTMP/cmd.sh {rootpath}" \ | |
|
519 | 522 | > --config "fix.fail:fileset=hello.txt" \ |
|
520 | 523 | > fix --working-dir |
|
521 | 524 | [wdir] fail: hello.txt: some |
General Comments 0
You need to be logged in to leave comments.
Login now