Mercurial > hg
comparison hgext/transplant.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 | b63dee7bd0d9 |
children | b14fdf1fb615 |
comparison
equal
deleted
inserted
replaced
40292:9c6473d2038b | 40293:c303d65d2e34 |
---|---|
560 ('c', 'continue', None, _('continue last transplant session ' | 560 ('c', 'continue', None, _('continue last transplant session ' |
561 'after fixing conflicts')), | 561 'after fixing conflicts')), |
562 ('', 'filter', '', | 562 ('', 'filter', '', |
563 _('filter changesets through command'), _('CMD'))], | 563 _('filter changesets through command'), _('CMD'))], |
564 _('hg transplant [-s REPO] [-b BRANCH [-a]] [-p REV] ' | 564 _('hg transplant [-s REPO] [-b BRANCH [-a]] [-p REV] ' |
565 '[-m REV] [REV]...')) | 565 '[-m REV] [REV]...'), |
566 helpcategory=command.CATEGORY_CHANGE_MANAGEMENT) | |
566 def transplant(ui, repo, *revs, **opts): | 567 def transplant(ui, repo, *revs, **opts): |
567 '''transplant changesets from another branch | 568 '''transplant changesets from another branch |
568 | 569 |
569 Selected changesets will be applied on top of the current working | 570 Selected changesets will be applied on top of the current working |
570 directory with the log of the original changeset. The changesets | 571 directory with the log of the original changeset. The changesets |