Mercurial > hg
changeset 10890:301633755dec
mq: promote qnew, demote qinit in short help
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 11 Apr 2010 14:25:02 -0500 |
parents | e25c450c351e |
children | 83af68e38be3 |
files | hgext/mq.py hgext/record.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Sun Apr 11 14:24:19 2010 -0500 +++ b/hgext/mq.py Sun Apr 11 14:25:02 2010 -0500 @@ -2710,7 +2710,7 @@ ('n', 'none', None, _('drop all guards'))], _('hg qguard [-l] [-n] [PATCH] [-- [+GUARD]... [-GUARD]...]')), 'qheader': (header, [], _('hg qheader [PATCH]')), - "^qimport": + "qimport": (qimport, [('e', 'existing', None, _('import file in patch directory')), ('n', 'name', '', _('name of patch file')), @@ -2723,7 +2723,7 @@ (init, [('c', 'create-repo', None, _('create queue repository'))], _('hg qinit [-c]')), - "qnew": + "^qnew": (new, [('e', 'edit', None, _('edit commit message')), ('f', 'force', None, _('import uncommitted changes (DEPRECATED)')), @@ -2792,7 +2792,7 @@ [('m', 'missing', None, _('print patches not in series')), ] + seriesopts, _('hg qseries [-ms]')), - "^strip": + "strip": (strip, [('f', 'force', None, _('force removal with local changes')), ('b', 'backup', None, _('bundle unrelated changesets')),
--- a/hgext/record.py Sun Apr 11 14:24:19 2010 -0500 +++ b/hgext/record.py Sun Apr 11 14:25:02 2010 -0500 @@ -555,7 +555,7 @@ (qrecord, # add qnew options, except '--force' - [opt for opt in mq.cmdtable['qnew'][1] if opt[1] != 'force'], + [opt for opt in mq.cmdtable['^qnew'][1] if opt[1] != 'force'], _('hg qrecord [OPTION]... PATCH [FILE]...')), }