comparison doc/hgrc.5.txt @ 1720:55017891051b

add pretag and tag hooks. pretag hook lets hook decide how tags can be named. tag hook is notifier.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 14 Feb 2006 15:47:25 -0800
parents eabfbd220f39
children 801756d0ca84
comparison
equal deleted inserted replaced
1719:98072468ffde 1720:55017891051b
157 the local repository. Passed the ID of the newly arrived 157 the local repository. Passed the ID of the newly arrived
158 changeset in environment variable $NODE. 158 changeset in environment variable $NODE.
159 precommit;; 159 precommit;;
160 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
161 proceed. Non-zero status will cause the commit to fail. 161 proceed. Non-zero status will cause the commit to fail.
162 pretag;;
163 Run before creating a tag. Exit status 0 allows the tag to be
164 created. Non-zero status will cause the tag to fail. ID of
165 changeset to tag in $NODE. Name of tag in $TAG. Tag is local if
166 $LOCAL=1, in repo if $LOCAL=0.
167 tag;;
168 Run after a tag is created. ID of tagged changeset in $NODE.
169 Name of tag in $TAG. Tag is local if $LOCAL=1, in repo if
170 $LOCAL=0.
162 171
163 http_proxy:: 172 http_proxy::
164 Used to access web-based Mercurial repositories through a HTTP 173 Used to access web-based Mercurial repositories through a HTTP
165 proxy. 174 proxy.
166 host;; 175 host;;