equal
deleted
inserted
replaced
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. |