[PATCH 0 of 2] python2.4+2.5 ssl fixe

Stephen Thorne stephen at thorne.id.au
Mon Jun 13 22:32:24 CDT 2011


Fixes for usage of sslutil on python2.4+2.5

This brings the behaviour of mercurial back to what it was before ssl
verification was introduced, on older versions of python.

The import fixes are required for sslutil to work at all on pre-2.6, 
without them accessing a https repo results in an error.

The second patch rearranges the warnings so that on pre-2.6 you
are given a debug warning that the host cannot be verified. Without the patch
each time you do a https transaction on pre-2.6 you would get told in a warning
message that you must configure a hostfingerprint, but if you configure a
hostfingerprint then mercurial cannot be used on https at all and will result
in a fatal error. 


More information about the Mercurial-devel mailing list