doc/hgrc.5.txt
changeset 1316 b650bfdfc7ee
parent 1312 c9cf171f30dd
child 1485 625f3f13d7be
equal deleted inserted replaced
1315:32f6cae83db7 1316:b650bfdfc7ee
   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.
   124   changegroup;;
   124   changegroup;;
   125     Run after a changegroup has been added via push or pull.
   125     Run after a changegroup has been added via push or pull. Passed
       
   126     the ID of the first new changeset in $NODE.
   126   commit;;
   127   commit;;
   127     Run after a changeset has been created. Passed the ID of the newly
   128     Run after a changeset has been created or for each changeset
   128     created changeset.
   129     pulled. Passed the ID of the newly created changeset in
       
   130     environment variable $NODE.
   129   precommit;;
   131   precommit;;
   130     Run before starting a commit.  Exit status 0 allows the commit to
   132     Run before starting a commit.  Exit status 0 allows the commit to
   131     proceed.  Non-zero status will cause the commit to fail.
   133     proceed.  Non-zero status will cause the commit to fail.
   132 
   134 
   133 http_proxy::
   135 http_proxy::