changeset 12091:339bd18c772f

merge with stable
author Martin Geisler <mg@lazybytes.net>
date Mon, 30 Aug 2010 22:52:00 +0200
parents 70f4a0f4e9a3 (current diff) ee601a6264e0 (diff)
children 4982fa38e544
files mercurial/mail.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/mail.py	Sat Aug 28 21:57:36 2010 -0500
+++ b/mercurial/mail.py	Mon Aug 30 22:52:00 2010 +0200
@@ -36,7 +36,7 @@
     s = smtplib.SMTP(local_hostname=local_hostname)
     mailhost = ui.config('smtp', 'host')
     if not mailhost:
-        raise util.Abort(_('no [smtp]host in hgrc - cannot send mail'))
+        raise util.Abort(_('smtp.host not configured - cannot send mail'))
     mailport = util.getport(ui.config('smtp', 'port', 25))
     ui.note(_('sending mail: smtp host %s, port %s\n') %
             (mailhost, mailport))