mq: drop -Q in favor of --mq only stable 1.5
authorMatt Mackall <mpm@selenic.com>
Fri, 05 Mar 2010 17:24:52 -0600
branchstable
changeset 10591 ff2704a8ded3
parent 10590 5faf3566c96d
child 10592 1875dc1ac5f4
mq: drop -Q in favor of --mq only
hgext/mq.py
--- a/hgext/mq.py	Fri Mar 05 12:27:23 2010 +0100
+++ b/hgext/mq.py	Fri Mar 05 17:24:52 2010 -0600
@@ -1864,7 +1864,7 @@
     qcommit to commit changes to this queue repository.
 
     This command is deprecated. Without -c, it's implied by other relevant
-    commands. With -c, use hg init -Q instead."""
+    commands. With -c, use hg init --mq instead."""
     return qinit(ui, repo, create=opts['create_repo'])
 
 def clone(ui, source, dest=None, **opts):
@@ -1934,7 +1934,7 @@
 def commit(ui, repo, *pats, **opts):
     """commit changes in the queue repository (DEPRECATED)
 
-    This command is deprecated; use hg -Q commit instead."""
+    This command is deprecated; use hg --mq commit instead."""
     q = repo.mq
     r = q.qrepo()
     if not r:
@@ -2654,7 +2654,7 @@
     return orig(r.ui, r, *args, **kwargs)
 
 def uisetup(ui):
-    mqopt = [('Q', 'mq', None, _("operate on patch repository"))]
+    mqopt = [('', 'mq', None, _("operate on patch repository"))]
 
     extensions.wrapcommand(commands.table, 'import', mqimport)