Mercurial > hg
comparison hgext/show.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 | 7b2955624777 |
children | 566daffc607d |
comparison
equal
deleted
inserted
replaced
40292:9c6473d2038b | 40293:c303d65d2e34 |
---|---|
91 # 'hg show' becomes stable before --template/-T is stable. For now, | 91 # 'hg show' becomes stable before --template/-T is stable. For now, |
92 # we are putting it here without the '(EXPERIMENTAL)' flag because it | 92 # we are putting it here without the '(EXPERIMENTAL)' flag because it |
93 # is an important part of the 'hg show' user experience and the entire | 93 # is an important part of the 'hg show' user experience and the entire |
94 # 'hg show' experience is experimental. | 94 # 'hg show' experience is experimental. |
95 ('T', 'template', '', ('display with template'), _('TEMPLATE')), | 95 ('T', 'template', '', ('display with template'), _('TEMPLATE')), |
96 ], _('VIEW')) | 96 ], _('VIEW'), |
97 helpcategory=command.CATEGORY_CHANGE_NAVIGATION) | |
97 def show(ui, repo, view=None, template=None): | 98 def show(ui, repo, view=None, template=None): |
98 """show various repository information | 99 """show various repository information |
99 | 100 |
100 A requested view of repository data is displayed. | 101 A requested view of repository data is displayed. |
101 | 102 |