equal
deleted
inserted
replaced
512 $ cd showstderr |
512 $ cd showstderr |
513 |
513 |
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 |
522 [wdir] fail: error |
525 [wdir] fail: error |
523 $ cat hello.txt |
526 $ cat hello.txt |