[PATCH STABLE V2] commands: print security protocol support in debuginstall

Yuya Nishihara yuya at tcha.org
Sat Oct 22 06:27:20 EDT 2016


On Fri, 21 Oct 2016 16:23:09 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1476914831 25200
> #      Wed Oct 19 15:07:11 2016 -0700
> # Branch stable
> # Node ID 7d6d017ee2dbb51dcbfc7c6f116e4c899f95b638
> # Parent  e478f11e418288b8308457303d3ddf6a23f874f8
> commands: print security protocol support in debuginstall

> +    if 'tls1.2' not in security:
> +        fm.plain(_('  TLS 1.2 not supported by Python install; '
> +                   'network connections lack modern security'))
> +    if 'sni' not in security:
> +        fm.plain(_('  SNI not supported by Python install; may have '
> +                   'connectivity issues with some servers'))

Doh, I should run the test with python 2.6. Fixed in flight.

https://buildbot.mercurial-scm.org/builders/hg%20tests%20%28stable%29/builds/128/steps/run-tests.py%20%28python%202.6.9%29/logs/stdio


More information about the Mercurial-devel mailing list