##// END OF EJS Templates
ui: optionally quiesce ssl verification warnings on python 2.5...
Steven Stallion -
r16391:9cf7c9d5 default
parent child Browse files
Show More
@@ -1135,6 +1135,10 User interface controls.
1135 ``remotecmd``
1135 ``remotecmd``
1136 remote command to use for clone/push/pull operations. Default is ``hg``.
1136 remote command to use for clone/push/pull operations. Default is ``hg``.
1137
1137
1138 ``reportoldssl``
1139 Warn if an SSL certificate is unable to be due to using Python
1140 2.5 or earlier. True or False. Default is True.
1141
1138 ``report_untrusted``
1142 ``report_untrusted``
1139 Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a
1143 Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a
1140 trusted user or group. True or False. Default is True.
1144 trusted user or group. True or False. Default is True.
@@ -107,6 +107,7 class validator(object):
107 if hostfingerprint:
107 if hostfingerprint:
108 raise util.Abort(_("host fingerprint for %s can't be "
108 raise util.Abort(_("host fingerprint for %s can't be "
109 "verified (Python too old)") % host)
109 "verified (Python too old)") % host)
110 if self.ui.configbool('ui', 'reportoldssl', True):
110 self.ui.warn(_("warning: certificate for %s can't be verified "
111 self.ui.warn(_("warning: certificate for %s can't be verified "
111 "(Python too old)\n") % host)
112 "(Python too old)\n") % host)
112 return
113 return
General Comments 0
You need to be logged in to leave comments. Login now