mercurial/url.py
changeset 13164 b75fc70f0a9f
parent 13115 bda5f35fbf67
parent 13163 2fa2e6444645
child 13177 04c8f3787546
equal deleted inserted replaced
13162:115a9760c382 13164:b75fc70f0a9f
   543                     raise util.Abort(_('%s certificate error: %s') %
   543                     raise util.Abort(_('%s certificate error: %s') %
   544                                      (self.host, msg))
   544                                      (self.host, msg))
   545                 self.ui.debug('%s certificate successfully verified\n' %
   545                 self.ui.debug('%s certificate successfully verified\n' %
   546                               self.host)
   546                               self.host)
   547             else:
   547             else:
       
   548                 self.ui.warn(_("warning: %s certificate not verified "
       
   549                                "(check web.cacerts config setting)\n") % 
       
   550                              self.host)
   548                 httplib.HTTPSConnection.connect(self)
   551                 httplib.HTTPSConnection.connect(self)
   549 
   552 
   550     class httpsconnection(BetterHTTPS):
   553     class httpsconnection(BetterHTTPS):
   551         response_class = keepalive.HTTPResponse
   554         response_class = keepalive.HTTPResponse
   552         # must be able to send big bundle as stream.
   555         # must be able to send big bundle as stream.