tests/test-hook
author jdc@uwo.ca
Sun, 17 Jul 2005 08:39:44 +0100
changeset 718 7dae73778114
parent 487 2ad41189bee5
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Fix typos in FAQ

#!/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 -t "test" -u test -d "0 0"