##// END OF EJS Templates
Remove "export FOO=bar" bashism.
Remove "export FOO=bar" bashism.

File last commit:

r749:7e4843b7 default
r797:95c258ee 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"