Show More
@@ -141,17 +141,21 b' hooks::' | |||||
141 |
|
141 | |||
142 | [hooks] |
|
142 | [hooks] | |
143 | # do not use the site-wide hook |
|
143 | # do not use the site-wide hook | |
144 |
|
|
144 | incoming = | |
145 |
|
|
145 | incoming.email = /my/email/hook | |
146 |
|
|
146 | incoming.autobuild = /my/build/hook | |
147 |
|
147 | |||
148 | changegroup;; |
|
148 | changegroup;; | |
149 | Run after a changegroup has been added via push or pull. Passed |
|
149 | Run after a changegroup has been added via push or pull. Passed | |
150 | the ID of the first new changeset in $NODE. |
|
150 | the ID of the first new changeset in $NODE. | |
151 | commit;; |
|
151 | commit;; | |
152 |
Run after a changeset has been created |
|
152 | Run after a changeset has been created in the local repository. | |
153 |
|
|
153 | Passed the ID of the newly created changeset in environment | |
154 |
|
|
154 | variable $NODE. | |
|
155 | incoming;; | |||
|
156 | Run after a changeset has been pulled, pushed, or unbundled into | |||
|
157 | the local repository. Passed the ID of the newly arrived | |||
|
158 | changeset in environment variable $NODE. | |||
155 | precommit;; |
|
159 | precommit;; | |
156 | Run before starting a commit. Exit status 0 allows the commit to |
|
160 | Run before starting a commit. Exit status 0 allows the commit to | |
157 | proceed. Non-zero status will cause the commit to fail. |
|
161 | proceed. Non-zero status will cause the commit to fail. |
General Comments 0
You need to be logged in to leave comments.
Login now