##// END OF EJS Templates
minor optimization: save some string trash
minor optimization: save some string trash

File last commit:

r1481:acd1832e default
r1540:8ca9f5b1 default
Show More
test-hook
10 lines | 246 B | text/plain | TextLexer
#!/bin/sh
hg init
echo "[hooks]" > .hg/hgrc
echo 'precommit = echo precommit hook' >> .hg/hgrc
echo 'commit = echo commit hook: $NODE' >> .hg/hgrc
echo 'commit.b = echo commit hook b' >> .hg/hgrc
echo a > a
hg add a
hg commit -m "test" -d "0 0"