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