[PATCH] doc: clarify smtp.password usage

Anthony Foiani anthony.foiani at gmail.com
Thu Sep 23 06:55:51 CDT 2010

On Thu, Sep 23, 2010 at 3:03 AM, Martin Geisler <mg at aragost.com> wrote:

> Nice -- I was just looking over that setting recently and the comment
> about coupling username and password seemed strange to me. This is nicer
> and I've pushed it to stable as ffcceca7406d.

Glad to help.  Here's my long-form description; I didn't think it warranted
a separate "0/1" patch mail, but if you have any use for it, please feel
free.  :)

This patch updates the documentation to reflect the current behavior
of the smtp.password configuration value.

The old docs claimed that smtp.password had to be specified whenever
smtp.username was given.  After looking through the code and
experimenting a bit, it seems that the current behavior is to prompt
for a password.

(I'm only putting this effort in so that other people don't lose time
trying to figure out how to keep their email account passwords out of
clear-text config files... :)

I have no particular attachment to the wording; I'd be happy to see
any change that accurately reflects the current behavior.  (I also
took the opportunity to remove "preposition at the end of a sentence"
issues, but those are also under the "no particular attachment"


(I'm not subscribed to the list; if you would like any further input
from me, a CC would be appreciated.)

Happy hacking,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100923/e7220aed/attachment.htm>

More information about the Mercurial-devel mailing list