changeset 50760:b584dae08774

configitems: add `documentation` field It may be useful to expose documentation information in the help in some form. This will be populated in a future changeset by using the current comments that are relevant for users.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 23 Jan 2023 18:52:05 +0100
parents f0ae403bf704
children 2c34c9b61a4f
files mercurial/configitems.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Mon Jan 23 17:21:14 2023 +0100
+++ b/mercurial/configitems.py	Mon Jan 23 18:52:05 2023 +0100
@@ -48,10 +48,12 @@
         generic=False,
         priority=0,
         experimental=False,
+        documentation="",
     ):
         self.section = section
         self.name = name
         self.default = default
+        self.documentation = documentation
         self.alias = list(alias)
         self.generic = generic
         self.priority = priority