# HG changeset patch # User Matt Mackall # Date 1130618701 25200 # Node ID acd1832ebf319bffd79b65c1fdb88e72e396b069 # Parent ae0d8d632b83228f41cc5dfc53f27b699f8e426f Change test-hook to test multiple hooks diff -r ae0d8d632b83 -r acd1832ebf31 tests/test-hook --- 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" diff -r ae0d8d632b83 -r acd1832ebf31 tests/test-hook.out --- 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