comparison doc/hgrc.5.txt @ 2211:b8b7a79a4d88

document [extensions] in doc/hgrc.5.txt.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 04 May 2006 22:38:14 -0700
parents 956e329f9e13
children 3f7692b0ff13
comparison
equal deleted inserted replaced
2210:1ec3bd7efcfe 2211:b8b7a79a4d88
133 email:: 133 email::
134 Settings for extensions that send email messages. 134 Settings for extensions that send email messages.
135 from;; 135 from;;
136 Optional. Email address to use in "From" header and SMTP envelope 136 Optional. Email address to use in "From" header and SMTP envelope
137 of outgoing messages. 137 of outgoing messages.
138
139 extensions::
140 Mercurial has an extension mechanism for adding new features. To
141 enable an extension, create an entry for it in this section.
142
143 If you know that the extension is already in Python's search path,
144 you can give the name of the module, followed by "=", with nothing
145 after the "=".
146
147 Otherwise, give a name that you choose, followed by "=", followed by
148 the path to the ".py" file (including the file name extension) that
149 defines the extension.
138 150
139 hooks:: 151 hooks::
140 Commands or Python functions that get automatically executed by 152 Commands or Python functions that get automatically executed by
141 various actions such as starting or finishing a commit. Multiple 153 various actions such as starting or finishing a commit. Multiple
142 hooks can be run for the same action by appending a suffix to the 154 hooks can be run for the same action by appending a suffix to the