mercurial/url.py
branchstable
changeset 13163 2fa2e6444645
parent 12906 ae163a0a3cd0
child 13164 b75fc70f0a9f
child 13183 f9d29777b4eb
--- a/mercurial/url.py	Mon Dec 06 22:04:10 2010 -0600
+++ b/mercurial/url.py	Sat Dec 18 21:58:52 2010 +0100
@@ -527,6 +527,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):