comparison doc/hgrc.5.txt @ 2200:9f43b6e24232

move mail sending code into core, so extensions can share it. document hgrc settings used.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 04 May 2006 12:23:01 -0700
parents 5de8b44f0446
children 956e329f9e13
comparison
equal deleted inserted replaced
2199:f1986a61ccff 2200:9f43b6e24232
127 127
128 [decode] 128 [decode]
129 # convert files to windows line ending conventions when writing 129 # convert files to windows line ending conventions when writing
130 # them to the working dir 130 # them to the working dir
131 **.txt = tempfile: unix2dos -n INFILE OUTFILE 131 **.txt = tempfile: unix2dos -n INFILE OUTFILE
132
133 email::
134 Settings for extensions that send email messages.
135 from;;
136 Optional. Email address to use in "From" header and SMTP envelope
137 of outgoing messages.
132 138
133 hooks:: 139 hooks::
134 Commands or Python functions that get automatically executed by 140 Commands or Python functions that get automatically executed by
135 various actions such as starting or finishing a commit. Multiple 141 various actions such as starting or finishing a commit. Multiple
136 hooks can be run for the same action by appending a suffix to the 142 hooks can be run for the same action by appending a suffix to the
238 passwd;; 244 passwd;;
239 Optional. Password to authenticate with at the proxy server. 245 Optional. Password to authenticate with at the proxy server.
240 user;; 246 user;;
241 Optional. User name to authenticate with at the proxy server. 247 Optional. User name to authenticate with at the proxy server.
242 248
249 smtp::
250 Configuration for extensions that need to send email messages.
251 host;;
252 Optional. Host name of mail server. Default: "mail".
253 port;;
254 Optional. Port to connect to on mail server. Default: 25.
255 tls;;
256 Optional. Whether to connect to mail server using TLS. True or
257 False. Default: False.
258 username;;
259 Optional. User name to authenticate to SMTP server with.
260 If username is specified, password must also be specified.
261 Default: none.
262 password;;
263 Optional. Password to authenticate to SMTP server with.
264 If username is specified, password must also be specified.
265 Default: none.
266
243 paths:: 267 paths::
244 Assigns symbolic names to repositories. The left side is the 268 Assigns symbolic names to repositories. The left side is the
245 symbolic name, and the right gives the directory or URL that is the 269 symbolic name, and the right gives the directory or URL that is the
246 location of the repository. 270 location of the repository.
247 271