mercurial/url.py
changeset 13164 b75fc70f0a9f
parent 13115 bda5f35fbf67
parent 13163 2fa2e6444645
child 13177 04c8f3787546
--- a/mercurial/url.py	Mon Dec 13 11:46:31 2010 -0500
+++ b/mercurial/url.py	Sat Dec 18 22:06:11 2010 +0100
@@ -545,6 +545,9 @@
                 self.ui.debug('%s certificate successfully verified\n' %
                               self.host)
             else:
+                self.ui.warn(_("warning: %s certificate not verified "
+                               "(check web.cacerts config setting)\n") % 
+                             self.host)
                 httplib.HTTPSConnection.connect(self)
 
     class httpsconnection(BetterHTTPS):