view tests/test-hook.out @ 776:7635a3f14ad4

Add template to mktemp call Based on a patch from Soh Tk-r28629
author mpm@selenic.com
date Tue, 26 Jul 2005 19:27:05 -0800
parents 7e4843b7efd2
children 1f9ec150a476 8f5637f0a0c0 0902ffece4b4
line wrap: on
line source

+ hg init
+ echo '[hooks]'
+ echo 'precommit = echo precommit hook'
+ echo 'commit = echo commit hook: $NODE'
+ echo a
+ hg add a
+ hg commit -m test -d '0 0'
precommit hook
commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376