Mercurial > hg
diff hgext/histedit.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 | e2697acd9381 |
children | b14fdf1fb615 |
line wrap: on
line diff
--- a/hgext/histedit.py Fri Oct 12 17:57:36 2018 +0200 +++ b/hgext/histedit.py Sat Oct 13 02:17:41 2018 -0700 @@ -929,7 +929,8 @@ _('force outgoing even for unrelated repositories')), ('r', 'rev', [], _('first revision to be edited'), _('REV'))] + cmdutil.formatteropts, - _("[OPTIONS] ([ANCESTOR] | --outgoing [URL])")) + _("[OPTIONS] ([ANCESTOR] | --outgoing [URL])"), + helpcategory=command.CATEGORY_CHANGE_MANAGEMENT) def histedit(ui, repo, *freeargs, **opts): """interactively edit changeset history