doc/hgrc.5.txt
changeset 1714 eabfbd220f39
parent 1583 32a4e6802864
child 1720 55017891051b
equal deleted inserted replaced
1713:03ee100b8c21 1714:eabfbd220f39
   139 
   139 
   140   Example .hg/hgrc:
   140   Example .hg/hgrc:
   141 
   141 
   142     [hooks]
   142     [hooks]
   143     # do not use the site-wide hook
   143     # do not use the site-wide hook
   144     commit =
   144     incoming =
   145     commit.email = /my/email/hook
   145     incoming.email = /my/email/hook
   146     commit.autobuild = /my/build/hook
   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 or for each changeset
   152     Run after a changeset has been created in the local repository.
   153     pulled. Passed the ID of the newly created changeset in
   153     Passed the ID of the newly created changeset in environment
   154     environment variable $NODE.
   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.
   158 
   162 
   159 http_proxy::
   163 http_proxy::