##// END OF EJS Templates
updated help text and added manpage section for hg paths...
updated help text and added manpage section for hg paths Index: hg/doc/hg.1.txt ===================================================================

File last commit:

r814:0902ffec merge default
r924:ab681ea2 default
Show More
test-hook
9 lines | 197 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 a > a
hg add a
hg commit -m "test" -d "0 0"