Mercurial > hg
comparison mercurial/context.py @ 29107:c8fbfb9163ce
sslutil: move code examining _canloaddefaultcerts out of _defaultcacerts
Before, the return of _defaultcacerts() was 1 of 3 types. This was
difficult to read. Make it return a path or None.
We had to update hghave.py in the same patch because it was also
looking at this internal function. I wasted dozens of minutes
trying to figure out why tests were failing until I found the
code in hghave.py...
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 May 2016 23:38:34 -0700 |
parents | 92d37fb3f1aa |
children | c04ad3d3c651 |
comparison
equal
deleted
inserted
replaced
29106:fe7ebef8796a | 29107:c8fbfb9163ce |
---|