changeset 29482:4e72995f6c9c

sslutil: change comment and logged message for found ca cert file Future patches will change _defaultcacerts() to do something on platforms that aren't OS X. Change the comment and logged message to reflect the future.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 01 Jul 2016 18:03:51 -0700
parents 5caa415aa48b
children 918dce4b8c26
files mercurial/sslutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sslutil.py	Fri Jul 01 19:27:34 2016 -0700
+++ b/mercurial/sslutil.py	Fri Jul 01 18:03:51 2016 -0700
@@ -196,10 +196,10 @@
                     raise error.Abort(_('could not find web.cacerts: %s') %
                                       cafile)
             else:
-                # No global CA certs. See if we can load defaults.
+                # CAs not defined in config. Try to find system bundles.
                 cafile = _defaultcacerts()
                 if cafile:
-                    ui.debug('using %s to enable OS X system CA\n' % cafile)
+                    ui.debug('using %s for CA file\n' % cafile)
 
             s['cafile'] = cafile