##// 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 $ cat >> $HGRCPATH <<EOF
26 $ cat >> $HGRCPATH <<EOF
27 > [hooks]
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 > EOF
29 > EOF
30
30
31 Amending changeset with changes in working dir:
31 Amending changeset with changes in working dir:
@@ -13,7 +13,7 b''
13 > patterns=glob:**.dat
13 > patterns=glob:**.dat
14 > usercache=${USERCACHE}
14 > usercache=${USERCACHE}
15 > [hooks]
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 > EOF
17 > EOF
18
18
19 Create the repo with a couple of revisions of both large and normal
19 Create the repo with a couple of revisions of both large and normal
@@ -434,7 +434,7 b' Test 3364'
434 $ cd ../addrm
434 $ cd ../addrm
435 $ cat >> .hg/hgrc <<EOF
435 $ cat >> .hg/hgrc <<EOF
436 > [hooks]
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 > EOF
438 > EOF
439 $ touch foo
439 $ touch foo
440 $ hg add --large foo
440 $ hg add --large foo
General Comments 0
You need to be logged in to leave comments. Login now