Mercurial > hg > mercurial-crew-with-dirclash
diff doc/hgrc.5.txt @ 1316:b650bfdfc7ee
Hook fixups
Pass the first new changeset node to the changegroup hook
Call commit for each changeset in a pull changegroup
Improve hook docs
author | mpm@selenic.com |
---|---|
date | Thu, 22 Sep 2005 10:12:42 -0700 |
parents | c9cf171f30dd |
children | 625f3f13d7be |
line wrap: on
line diff
--- a/doc/hgrc.5.txt +++ b/doc/hgrc.5.txt @@ -122,10 +122,12 @@ hooks:: Commands that get automatically executed by various actions such as starting or finishing a commit. changegroup;; - Run after a changegroup has been added via push or pull. + Run after a changegroup has been added via push or pull. Passed + the ID of the first new changeset in $NODE. commit;; - Run after a changeset has been created. Passed the ID of the newly - created changeset. + Run after a changeset has been created or for each changeset + pulled. Passed the ID of the newly created changeset in + environment variable $NODE. precommit;; Run before starting a commit. Exit status 0 allows the commit to proceed. Non-zero status will cause the commit to fail.