mq: promote qnew, demote qinit in short help
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Apr 2010 14:25:02 -0500
changeset 10890 301633755dec
parent 10889 e25c450c351e
child 10891 83af68e38be3
mq: promote qnew, demote qinit in short help
hgext/mq.py
hgext/record.py
--- 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]...')),
     }