sslutil: change comment and logged message for found ca cert file
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 01 Jul 2016 18:03:51 -0700
changeset 29482 4e72995f6c9c
parent 29481 5caa415aa48b
child 29483 918dce4b8c26
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.
mercurial/sslutil.py
--- 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