diff mercurial/configitems.py @ 40488:ab09e797fbed

help: allow commands to be hidden This is useful in enterprise environments where some workflows are discouraged. Differential Revision: https://phab.mercurial-scm.org/D5076
author rdamazio@google.com
date Sat, 13 Oct 2018 05:02:55 -0700
parents db0dba2d157d
children 1ddd202c47d9
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Oct 20 00:12:20 2018 +0300
+++ b/mercurial/configitems.py	Sat Oct 13 05:02:55 2018 -0700
@@ -699,6 +699,10 @@
 coreconfigitem('fsmonitor', 'warn_update_file_count',
     default=50000,
 )
+coreconfigitem('help', 'hidden-command\..*',
+    default=False,
+    generic=True,
+)
 coreconfigitem('hooks', '.*',
     default=dynamicdefault,
     generic=True,