mercurial/mail.py
branchstable
changeset 12090 ee601a6264e0
parent 11542 594b98846ce1
child 12091 339bd18c772f
--- a/mercurial/mail.py	Fri Aug 27 22:36:35 2010 -0400
+++ b/mercurial/mail.py	Mon Aug 30 22:47:38 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 = int(ui.config('smtp', 'port', 25))
     ui.note(_('sending mail: smtp host %s, port %s\n') %
             (mailhost, mailport))