diff hgext/graphlog.py @ 40293:c303d65d2e34

help: assigning categories to existing commands I'm separating this into its own commit so people can bikeshed over the actual categorization (vs the support for categories). These categories are based on the help implementation we've been using internally at Google, and have had zero complaints. Differential Revision: https://phab.mercurial-scm.org/D5067
author rdamazio@google.com
date Sat, 13 Oct 2018 02:17:41 -0700
parents 0c9ba2ac60a8
children 2372284d9457
line wrap: on
line diff
--- a/hgext/graphlog.py	Fri Oct 12 17:57:36 2018 +0200
+++ b/hgext/graphlog.py	Sat Oct 13 02:17:41 2018 -0700
@@ -54,6 +54,7 @@
      _('do not display revision or any of its ancestors'), _('REV')),
     ] + cmdutil.logopts + cmdutil.walkopts,
     _('[OPTION]... [FILE]'),
+    helpcategory=command.CATEGORY_CHANGE_NAVIGATION,
     inferrepo=True)
 def glog(ui, repo, *pats, **opts):
     """show revision history alongside an ASCII revision graph