mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
3a08ca5eaa
manifest hash: 6e4385453843031a712005a320d6000595b40d05
10 lines
228 B
Plaintext
10 lines
228 B
Plaintext
+ 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
|