Mercurial > hg > mercurial-crew-with-dirclash
comparison doc/hgrc.5.txt @ 1732:d3e6da334b85
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 16 Feb 2006 08:51:24 -0800 |
parents | 019e6a47a53e 0f1d2c75db5e |
children | 9488d53233b5 |
comparison
equal
deleted
inserted
replaced
1727:019e6a47a53e | 1732:d3e6da334b85 |
---|---|
148 Most hooks are run with environment variables set that give added | 148 Most hooks are run with environment variables set that give added |
149 useful information. For each hook below, the environment variables | 149 useful information. For each hook below, the environment variables |
150 it is passed are listed with names of the form "$HG_foo". | 150 it is passed are listed with names of the form "$HG_foo". |
151 | 151 |
152 changegroup;; | 152 changegroup;; |
153 Run after a changegroup has been added via push or pull. ID of the | 153 Run after a changegroup has been added via push, pull or |
154 first new changeset is in $HG_NODE. | 154 unbundle. ID of the first new changeset is in $HG_NODE. |
155 commit;; | 155 commit;; |
156 Run after a changeset has been created in the local repository. | 156 Run after a changeset has been created in the local repository. |
157 ID of the newly created changeset is in $HG_NODE. Parent | 157 ID of the newly created changeset is in $HG_NODE. Parent |
158 changeset IDs are in $HG_PARENT1 and $HG_PARENT2. | 158 changeset IDs are in $HG_PARENT1 and $HG_PARENT2. |
159 incoming;; | 159 incoming;; |
160 Run after a changeset has been pulled, pushed, or unbundled into | 160 Run after a changeset has been pulled, pushed, or unbundled into |
161 the local repository. The ID of the newly arrived changeset is in | 161 the local repository. The ID of the newly arrived changeset is in |
162 $HG_NODE. | 162 $HG_NODE. |
163 prechangegroup;; | |
164 Run before a changegroup is added via push, pull or unbundle. | |
165 Exit status 0 allows the changegroup to proceed. Non-zero status | |
166 will cause the push, pull or unbundle to fail. | |
163 precommit;; | 167 precommit;; |
164 Run before starting a local commit. Exit status 0 allows the | 168 Run before starting a local commit. Exit status 0 allows the |
165 commit to proceed. Non-zero status will cause the commit to fail. | 169 commit to proceed. Non-zero status will cause the commit to fail. |
166 Parent changeset IDs are in $HG_PARENT1 and $HG_PARENT2. | 170 Parent changeset IDs are in $HG_PARENT1 and $HG_PARENT2. |
167 pretag;; | 171 pretag;; |
168 Run before creating a tag. Exit status 0 allows the tag to be | 172 Run before creating a tag. Exit status 0 allows the tag to be |
169 created. Non-zero status will cause the tag to fail. ID of | 173 created. Non-zero status will cause the tag to fail. ID of |
170 changeset to tag is in $HG_NODE. Name of tag is in $HG_TAG. Tag | 174 changeset to tag is in $HG_NODE. Name of tag is in $HG_TAG. Tag |
171 is local if $HG_LOCAL=1, in repo if $HG_LOCAL=0. | 175 is local if $HG_LOCAL=1, in repo if $HG_LOCAL=0. |
176 pretxnchangegroup;; | |
177 Run after a changegroup has been added via push, pull or unbundle, | |
178 but before the transaction has been committed. Changegroup is | |
179 visible to hook program. This lets you validate incoming changes | |
180 before accepting them. Passed the ID of the first new changeset | |
181 in $NODE. Exit status 0 allows the transaction to commit. | |
182 Non-zero status will cause the transaction to be rolled back and | |
183 the push, pull or unbundle will fail. | |
172 pretxncommit;; | 184 pretxncommit;; |
173 Run after a changeset has been created but the transaction not yet | 185 Run after a changeset has been created but the transaction not yet |
174 committed. Changeset is visible to hook program. This lets you | 186 committed. Changeset is visible to hook program. This lets you |
175 validate commit message and changes. Exit status 0 allows the | 187 validate commit message and changes. Exit status 0 allows the |
176 commit to proceed. Non-zero status will cause the transaction to | 188 commit to proceed. Non-zero status will cause the transaction to |