mercurial/sslutil.py
changeset 33494 30f2715be123
parent 33381 3bdbbadddecc
child 34645 75979c8d4572
--- a/mercurial/sslutil.py	Thu Mar 30 00:27:46 2017 -0400
+++ b/mercurial/sslutil.py	Wed Jul 12 18:37:13 2017 -0400
@@ -475,6 +475,12 @@
                     ui.warn(_(
                         '(see https://mercurial-scm.org/wiki/SecureConnections '
                         'for more info)\n'))
+
+            elif (e.reason == 'CERTIFICATE_VERIFY_FAILED' and
+                pycompat.osname == 'nt'):
+
+                ui.warn(_('(the full certificate chain may not be available '
+                          'locally; see "hg help debugssl")\n'))
         raise
 
     # check if wrap_socket failed silently because socket had been