changeset 13329 | 4e92ad05fe18 |
parent 13315 | 0d1dca7d2a04 |
parent 13328 | a939f08fae9c |
child 13370 | d13a533a0b11 |
--- a/mercurial/url.py Mon Jan 31 22:16:33 2011 +0100 +++ b/mercurial/url.py Tue Feb 01 01:55:45 2011 +0100 @@ -559,8 +559,9 @@ ca_certs=cacerts) msg = _verifycert(self.sock.getpeercert(), self.host) if msg: - raise util.Abort(_('%s certificate error: %s') % - (self.host, msg)) + raise util.Abort(_('%s certificate error: %s ' + '(use --insecure to connect ' + 'insecurely)') % (self.host, msg)) self.ui.debug('%s certificate successfully verified\n' % self.host) else: