comparison 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
comparison
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
52 _('show changesets within the given named branch'), _('BRANCH')), 52 _('show changesets within the given named branch'), _('BRANCH')),
53 ('P', 'prune', [], 53 ('P', 'prune', [],
54 _('do not display revision or any of its ancestors'), _('REV')), 54 _('do not display revision or any of its ancestors'), _('REV')),
55 ] + cmdutil.logopts + cmdutil.walkopts, 55 ] + cmdutil.logopts + cmdutil.walkopts,
56 _('[OPTION]... [FILE]'), 56 _('[OPTION]... [FILE]'),
57 helpcategory=command.CATEGORY_CHANGE_NAVIGATION,
57 inferrepo=True) 58 inferrepo=True)
58 def glog(ui, repo, *pats, **opts): 59 def glog(ui, repo, *pats, **opts):
59 """show revision history alongside an ASCII revision graph 60 """show revision history alongside an ASCII revision graph
60 61
61 Print a revision history alongside a revision graph drawn with 62 Print a revision history alongside a revision graph drawn with