tests/test-hook
author Josef "Jeff" Sipek <jeffpc@optonline.net>
Sun, 05 Feb 2006 20:52:55 -0500
changeset 1668 586b50294ea8
parent 1481 acd1832ebf31
child 1734 9488d53233b5
permissions -rwxr-xr-x
[hgweb] Added rename information to gitweb templates & misc cleanups Fixed up file log template's title Removed double entry for filelogentry in gitweb map file

#!/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"