--- a/hgext3rd/evolve/cmdrewrite.py Wed Oct 17 14:02:18 2018 +0200
+++ b/hgext3rd/evolve/cmdrewrite.py Wed Oct 17 23:10:30 2018 +0800
@@ -105,7 +105,7 @@
('', 'close-branch', None,
_('mark a branch as closed, hiding it from the branch list')),
('s', 'secret', None, _('use the secret phase for committing')),
- ('n', 'note', '', _('store a note on amend')),
+ ('n', 'note', '', _('store a note on amend'), _('TEXT')),
] + walkopts + commitopts + commitopts2 + commitopts3 + interactiveopt,
_('[OPTION]... [FILE]...'))
def amend(ui, repo, *pats, **opts):
@@ -461,9 +461,9 @@
'uncommit',
[('a', 'all', None, _('uncommit all changes when no arguments given')),
('i', 'interactive', False, _('interactive mode to uncommit (EXPERIMENTAL)')),
- ('r', 'rev', '', _('revert commit content to REV instead')),
+ ('r', 'rev', '', _('revert commit content to REV instead'), _('REV')),
('', 'revert', False, _('discard working directory changes after uncommit')),
- ('n', 'note', '', _('store a note on uncommit')),
+ ('n', 'note', '', _('store a note on uncommit'), _('TEXT')),
] + commands.walkopts + commitopts + commitopts2 + commitopts3,
_('[OPTION]... [NAME]'))
def uncommit(ui, repo, *pats, **opts):
@@ -661,10 +661,10 @@
@eh.command(
'^fold|squash',
- [('r', 'rev', [], _("revision to fold")),
+ [('r', 'rev', [], _("revision to fold"), _('REV')),
('', 'exact', None, _("only fold specified revisions")),
('', 'from', None, _("fold revisions linearly to working copy parent")),
- ('n', 'note', '', _('store a note on fold')),
+ ('n', 'note', '', _('store a note on fold'), _('TEXT')),
] + commitopts + commitopts2 + commitopts3,
_('hg fold [OPTION]... [-r] REV'))
def fold(ui, repo, *revs, **opts):
@@ -789,9 +789,9 @@
@eh.command(
'metaedit',
- [('r', 'rev', [], _("revision to edit")),
+ [('r', 'rev', [], _("revision to edit"), _('REV')),
('', 'fold', None, _("also fold specified revisions into one")),
- ('n', 'note', '', _('store a note on metaedit')),
+ ('n', 'note', '', _('store a note on metaedit'), _('TEXT')),
] + commitopts + commitopts2 + commitopts3,
_('hg metaedit [OPTION]... [-r] [REV]'))
def metaedit(ui, repo, *revs, **opts):
@@ -939,10 +939,10 @@
@eh.command(
'^prune|obsolete',
[('n', 'new', [], _("successor changeset (DEPRECATED)")),
- ('s', 'succ', [], _("successor changeset")),
- ('r', 'rev', [], _("revisions to prune")),
+ ('s', 'succ', [], _("successor changeset"), _('REV')),
+ ('r', 'rev', [], _("revisions to prune"), _('REV')),
('k', 'keep', None, _("does not modify working copy during prune")),
- ('n', 'note', '', _('store a note on prune')),
+ ('n', 'note', '', _('store a note on prune'), _('TEXT')),
('', 'pair', False, _("record a pairing, such as a rebase or divergence resolution "
"(pairing multiple precursors to multiple successors)")),
('', 'biject', False, _("alias to --pair (DEPRECATED)")),
@@ -951,7 +951,7 @@
('', 'split', False,
_("record a split (on precursor, multiple successors)")),
('B', 'bookmark', [], _("remove revs only reachable from given"
- " bookmark"))] + metadataopts,
+ " bookmark"), _('BOOKMARK'))] + metadataopts,
_('[OPTION] [-r] REV...'))
# XXX -U --noupdate option to prevent wc update and or bookmarks update ?
def cmdprune(ui, repo, *revs, **opts):
@@ -1129,8 +1129,8 @@
@eh.command(
'^split',
- [('r', 'rev', [], _("revision to split")),
- ('n', 'note', '', _("store a note on split")),
+ [('r', 'rev', [], _("revision to split"), _('REV')),
+ ('n', 'note', '', _("store a note on split"), _('TEXT')),
] + commitopts + commitopts2 + commitopts3,
_('hg split [OPTION]... [-r] REV'))
def cmdsplit(ui, repo, *revs, **opts):
@@ -1225,8 +1225,8 @@
@eh.command(
'touch',
- [('r', 'rev', [], 'revision to update'),
- ('n', 'note', '', _('store a note on touch')),
+ [('r', 'rev', [], _('revision to update'), _('REV')),
+ ('n', 'note', '', _('store a note on touch'), _('TEXT')),
('D', 'duplicate', False,
'do not mark the new revision as successor of the old one'),
('A', 'allowdivergence', False,
@@ -1318,7 +1318,7 @@
@eh.command(
'pick|grab',
- [('r', 'rev', '', 'revision to pick'),
+ [('r', 'rev', '', _('revision to pick'), _('REV')),
('c', 'continue', False, 'continue interrupted pick'),
('a', 'abort', False, 'abort interrupted pick'),
],