comparison tests/test-hook.out @ 487:2ad41189bee5

Add initial hook support -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add initial hook support This adds the basic hook code as well as pre and post-commit hooks. Argument passing is by environment variable key/value pairs so that extra data can be passed over time. File lists will generally not be passed to hooks as these can be extremely long (>1M). manifest hash: 45cf9bab432782c391bc9c1c048c84cc75d52740 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwOukywK+sNU5EO8RAsVsAJ9QipR2aKRSSvoRNo+3If6JddUDkwCgkZrM KEmZpUOxhNHqezFVrHDRTjE= =aedm -----END PGP SIGNATURE-----
author mpm@selenic.com
date Mon, 27 Jun 2005 22:18:12 -0800
parents
children 7e4843b7efd2
comparison
equal deleted inserted replaced
486:098d1f039c18 487:2ad41189bee5
1 + hg init
2 + echo '[hooks]'
3 + echo 'precommit = echo precommit hook'
4 + echo 'commit = echo commit hook: $NODE'
5 + echo a
6 + hg add a
7 + hg commit -t test -u test -d '0 0'
8 precommit hook
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376