Show More
@@ -120,7 +120,19 b' decode/encode::' | |||||
120 |
|
120 | |||
121 | hooks:: |
|
121 | hooks:: | |
122 | Commands that get automatically executed by various actions such as |
|
122 | Commands that get automatically executed by various actions such as | |
123 | starting or finishing a commit. |
|
123 | starting or finishing a commit. Multiple commands can be run for | |
|
124 | the same action by appending a suffix to the action. Overriding a | |||
|
125 | site-wide hook can be done by changing its value or setting it to | |||
|
126 | an empty string. | |||
|
127 | ||||
|
128 | Example .hg/hgrc: | |||
|
129 | ||||
|
130 | [hooks] | |||
|
131 | # do not use the site-wide hook | |||
|
132 | commit = | |||
|
133 | commit.email = /my/email/hook | |||
|
134 | commit.autobuild = /my/build/hook | |||
|
135 | ||||
124 | changegroup;; |
|
136 | changegroup;; | |
125 | Run after a changegroup has been added via push or pull. Passed |
|
137 | Run after a changegroup has been added via push or pull. Passed | |
126 | the ID of the first new changeset in $NODE. |
|
138 | the ID of the first new changeset in $NODE. |
General Comments 0
You need to be logged in to leave comments.
Login now