# HG changeset patch # User Matt Harbison # Date 1731348193 18000 # Node ID b65085c6d6ffb4f80f5ac7618a45318ee5fc1c9b # Parent e03bc88776d3a0809feccb7b4c6b8f1ccec695cd help: modernize the help text for `hostsecurity.minimumprotocol` Two issues here: 1) We're well past Pythons that only support TLSv1.0 (py27 supports v1.2) 2) It never occurred to me that this is a client-only setting diff -r e03bc88776d3 -r b65085c6d6ff mercurial/helptext/config.txt --- a/mercurial/helptext/config.txt Mon Nov 11 12:08:26 2024 -0500 +++ b/mercurial/helptext/config.txt Mon Nov 11 13:03:13 2024 -0500 @@ -1526,15 +1526,16 @@ This option requires Python 2.7. ``minimumprotocol`` - Defines the minimum channel encryption protocol to use. + Defines the minimum channel encryption protocol to use in the client. By default, the highest version of TLS supported by both client and server is used. Allowed values are: ``tls1.0``, ``tls1.1``, ``tls1.2``, ``tls1.3``. - When running on an old Python version, only ``tls1.0`` is allowed since - old versions of Python only support up to TLS 1.0. + Depending on the version of Python being used, not all of these values may + be available. See ``hg debuginstall`` for the values supported by the + current installation. When running a Python that supports modern TLS versions, the default is ``tls1.1``. ``tls1.0`` can still be used to allow TLS 1.0. However, this