##// END OF EJS Templates
tests: use double quote to quote arguments in hook for portability...
FUJIWARA Katsunori -
r24838:b2c1ff96 stable
parent child Browse files
Show More
@@ -16,7 +16,7 b' Add a hook to wait 5 seconds and then ab'
16 16
17 17 $ cd ../corrupted
18 18 $ echo "[hooks]" >> .hg/hgrc
19 $ echo "pretxncommit = sh -c 'sleep 5; exit 1'" >> .hg/hgrc
19 $ echo 'pretxncommit = sh -c "sleep 5; exit 1"' >> .hg/hgrc
20 20
21 21 start a commit...
22 22
@@ -120,7 +120,7 b' Test that pending on transaction without'
120 120 $ cat <<EOF > parent/.hg/hgrc
121 121 > [hooks]
122 122 > pretxnchangegroup=
123 > pretxnclose = hg tip -T 'tip: {node|short}\n'
123 > pretxnclose = hg tip -T "tip: {node|short}\n"
124 124 > [phases]
125 125 > publishing=False
126 126 > EOF
General Comments 0
You need to be logged in to leave comments. Login now