##// END OF EJS Templates
run-tests: remove '+ hg' trick...
run-tests: remove '+ hg' trick This was causing me a fair amount of debugging confusion. Let's just forget it entirely. Updated tests to match.

File last commit:

r814:0902ffec merge default
r925:5a034646 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"