##// END OF EJS Templates
Make test-pull work on slow machines, where hg serve needs some time to start.
Make test-pull work on slow machines, where hg serve needs some time to start.

File last commit:

r749:7e4843b7 default
r790:d7380783 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"