Sat, 30 May 2020 03:23:58 +0200 sslutil: eliminate `_canloaddefaultcerts` by constant-folding code using it
Manuel Jacob <me@manueljacob.de> [Sat, 30 May 2020 03:23:58 +0200] rev 44939
sslutil: eliminate `_canloaddefaultcerts` by constant-folding code using it
Sat, 30 May 2020 05:08:02 +0200 tests: remove "defaultcacerts" check
Manuel Jacob <me@manueljacob.de> [Sat, 30 May 2020 05:08:02 +0200] rev 44938
tests: remove "defaultcacerts" check `sslutil._canloaddefaultcerts` is always true (and will be removed).
Fri, 29 May 2020 21:30:04 +0200 sslutil: eliminate `modernssl` by constant-folding code using it
Manuel Jacob <me@manueljacob.de> [Fri, 29 May 2020 21:30:04 +0200] rev 44937
sslutil: eliminate `modernssl` by constant-folding code using it
Sat, 30 May 2020 04:59:13 +0200 hgweb: avoid using `sslutil.modernssl`
Manuel Jacob <me@manueljacob.de> [Sat, 30 May 2020 04:59:13 +0200] rev 44936
hgweb: avoid using `sslutil.modernssl` `sslutil.modernssl` is going to be removed. Since the point of using this attribute was to check the importability of the `sslutil`, a different attribute can be used. `sslutil.wrapserversocket` is used because it’s anyway used a few lines below.
Fri, 29 May 2020 22:31:26 +0200 sslutil: remove comments referring to removed SSLContext emulation class
Manuel Jacob <me@manueljacob.de> [Fri, 29 May 2020 22:31:26 +0200] rev 44935
sslutil: remove comments referring to removed SSLContext emulation class
Fri, 29 May 2020 21:18:22 +0200 sslutil: remove code checking for presence of ssl.SSLContext
Manuel Jacob <me@manueljacob.de> [Fri, 29 May 2020 21:18:22 +0200] rev 44934
sslutil: remove code checking for presence of ssl.SSLContext Now that we require the presence of ssl.SSLContext in setup.py, we can remove this code.
Fri, 29 May 2020 21:07:26 +0200 setup: require a Python version with modern SSL features
Manuel Jacob <me@manueljacob.de> [Fri, 29 May 2020 21:07:26 +0200] rev 44933
setup: require a Python version with modern SSL features This increases the minimum security baseline of Mercurial and enables us to remove compatibility code for supporting older, less secure Python versions.
Sat, 30 May 2020 03:46:59 +0200 sslutil: set `_canloaddefaultcerts` to `True` if `ssl.SSLContext` is present
Manuel Jacob <me@manueljacob.de> [Sat, 30 May 2020 03:46:59 +0200] rev 44932
sslutil: set `_canloaddefaultcerts` to `True` if `ssl.SSLContext` is present The `load_default_certs()` method was already present when `ssl.SSLContext` was backported to Python 2.7 (https://hg.python.org/cpython/rev/221a1f9155e2).
Thu, 28 May 2020 16:16:13 -0400 filemerge: add __bytes__ for absentfilectx
Augie Fackler <augie@google.com> [Thu, 28 May 2020 16:16:13 -0400] rev 44931
filemerge: add __bytes__ for absentfilectx This will at _least_ aid some upcoming debugging. Differential Revision: https://phab.mercurial-scm.org/D8592
Thu, 28 May 2020 16:17:28 -0400 mergestate: move staticmethod _filectxorabsent to module level
Augie Fackler <augie@google.com> [Thu, 28 May 2020 16:17:28 -0400] rev 44930
mergestate: move staticmethod _filectxorabsent to module level I suspect this was a static method just because it made merge.py feel less messy, but now we have a mergestate package so we can do better. Differential Revision: https://phab.mercurial-scm.org/D8591
(0) -30000 -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip