# HG changeset patch # User Raphaël Gomès # Date 1674496325 -3600 # Node ID b584dae08774d006a9e1b73292c4e9d384036aac # Parent f0ae403bf704f1f6bb2af15db87b099d31eb80c3 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. diff -r f0ae403bf704 -r b584dae08774 mercurial/configitems.py --- 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