[PATCH] doc: clarify smtp.password usage

Martin Geisler mg at aragost.com
Thu Sep 23 04:03:56 CDT 2010


Anthony Foiani <anthony.foiani at gmail.com> writes:

> # HG changeset patch
> # User Anthony Foiani <anthony.foiani at gmail.com>
> # Date 1285223224 21600
> # Node ID 3b6559413aa96d995321f29d553931c99d10a523
> # Parent  1e2625fe371b3120fc6692e94a8323d593906302
> doc: clarify smtp.password usage

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.

> diff -r 1e2625fe371b -r 3b6559413aa9 doc/hgrc.5.txt
> --- a/doc/hgrc.5.txt	Wed Sep 22 18:29:41 2010 -0500
> +++ b/doc/hgrc.5.txt	Thu Sep 23 00:27:04 2010 -0600
> @@ -699,13 +699,12 @@
>      Optional. Whether to connect to mail server using TLS. True or
>      False. Default: False.
>  ``username``
> -    Optional. User name to authenticate to SMTP server with. If
> -    username is specified, password must also be specified.
> +    Optional. User name for authenticating with the SMTP server.
>      Default: none.
>  ``password``
> -    Optional. Password to authenticate to SMTP server with. If
> -    username is specified, password must also be specified.
> -    Default: none.
> +    Optional. Password for authenticating with the SMTP server. If not
> +    specified, interactive sessions will prompt the user for a
> +    password; non-interactive sessions will fail. Default: none.
>  ``local_hostname``
>      Optional. It's the hostname that the sender can use to identify
>      itself to the MTA.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list