##// END OF EJS Templates
tests: correct quoting of double quotes in here documents used to write hooks...
Jim Hague -
r17462:8085fed2 stable
parent child Browse files
Show More
@@ -25,7 +25,7 b' Nothing to amend:'
25 25
26 26 $ cat >> $HGRCPATH <<EOF
27 27 > [hooks]
28 > pretxncommit.foo = sh -c "echo \"pretxncommit \$HG_NODE\"; hg id -r \$HG_NODE"
28 > pretxncommit.foo = sh -c "echo \\"pretxncommit \$HG_NODE\\"; hg id -r \$HG_NODE"
29 29 > EOF
30 30
31 31 Amending changeset with changes in working dir:
@@ -13,7 +13,7 b''
13 13 > patterns=glob:**.dat
14 14 > usercache=${USERCACHE}
15 15 > [hooks]
16 > precommit=sh -c "echo \"Invoking status precommit hook\"; hg status"
16 > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status"
17 17 > EOF
18 18
19 19 Create the repo with a couple of revisions of both large and normal
@@ -434,7 +434,7 b' Test 3364'
434 434 $ cd ../addrm
435 435 $ cat >> .hg/hgrc <<EOF
436 436 > [hooks]
437 > post-commit.stat=sh -c "echo \"Invoking status postcommit hook\"; hg status -A"
437 > post-commit.stat=sh -c "echo \\"Invoking status postcommit hook\\"; hg status -A"
438 438 > EOF
439 439 $ touch foo
440 440 $ hg add --large foo
General Comments 0
You need to be logged in to leave comments. Login now