changeset 801 | 1f9ec150a476 |
parent 749 | 7e4843b7efd2 |
child 808 | 8f5637f0a0c0 |
800:ec85f9e6f3b1 | 801:1f9ec150a476 |
---|---|
1 + hg init |
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 |
2 + hg add a |
7 + hg commit -m test -d '0 0' |
3 + hg commit -m test -d 0 0 |
8 precommit hook |
4 precommit hook |
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376 |
5 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376 |