diff mercurial/configitems.py @ 50341:698ffff7024b stable

configitems: make devel.serverexactprotocol look dangerous Because it is.
author pacien <pacien.trangirard@pacien.net>
date Thu, 13 Apr 2023 11:28:48 +0200
parents a6b8b1ab9116
children 4ca794f4e6a3 771294224bf6
line wrap: on
line diff
--- a/mercurial/configitems.py	Thu Apr 13 04:12:31 2023 +0200
+++ b/mercurial/configitems.py	Thu Apr 13 11:28:48 2023 +0200
@@ -688,9 +688,11 @@
     b'servercafile',
     default=b'',
 )
+# This config option is intended for use in tests only. It is a giant
+# footgun to kill security. Don't define it.
 coreconfigitem(
     b'devel',
-    b'serverexactprotocol',
+    b'server-insecure-exact-protocol',
     default=b'',
 )
 coreconfigitem(