[PATCH] doc: clarify smtp.password usage

Anthony Foiani anthony.foiani at gmail.com
Thu Sep 23 01:46:45 CDT 2010


 doc/hgrc.5.txt |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)


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

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.


More information about the Mercurial-devel mailing list