Change test-hook to test multiple hooks
authorMatt Mackall <mpm@selenic.com>
Sat, 29 Oct 2005 13:45:01 -0700
changeset 1481 acd1832ebf31
parent 1480 ae0d8d632b83
child 1482 4d38b85e60aa
Change test-hook to test multiple hooks
tests/test-hook
tests/test-hook.out
--- a/tests/test-hook	Sat Oct 29 13:44:05 2005 -0700
+++ b/tests/test-hook	Sat Oct 29 13:45:01 2005 -0700
@@ -4,6 +4,7 @@
 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"
--- a/tests/test-hook.out	Sat Oct 29 13:44:05 2005 -0700
+++ b/tests/test-hook.out	Sat Oct 29 13:45:01 2005 -0700
@@ -1,2 +1,3 @@
 precommit hook
+commit hook b
 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376