changeset 52291:b65085c6d6ff

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
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 11 Nov 2024 13:03:13 -0500
parents e03bc88776d3
children 085cc409847d
files mercurial/helptext/config.txt
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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