##// END OF EJS Templates
Remove usage of ${par:-word}, which and mktemp. Quote filenames.
Remove usage of ${par:-word}, which and mktemp. Quote filenames.

File last commit:

r749:7e4843b7 default
r795:cd0ad12d default
Show More
test-hook
9 lines | 200 B | text/plain | TextLexer
#!/bin/sh -x
hg init
echo "[hooks]" > .hg/hgrc
echo 'precommit = echo precommit hook' >> .hg/hgrc
echo 'commit = echo commit hook: $NODE' >> .hg/hgrc
echo a > a
hg add a
hg commit -m "test" -d "0 0"