##// END OF EJS Templates
mq: drop -Q in favor of --mq only
Matt Mackall -
r10591:ff2704a8 1.5 stable
parent child Browse files
Show More
@@ -1864,7 +1864,7 b' def init(ui, repo, **opts):'
1864 qcommit to commit changes to this queue repository.
1864 qcommit to commit changes to this queue repository.
1865
1865
1866 This command is deprecated. Without -c, it's implied by other relevant
1866 This command is deprecated. Without -c, it's implied by other relevant
1867 commands. With -c, use hg init -Q instead."""
1867 commands. With -c, use hg init --mq instead."""
1868 return qinit(ui, repo, create=opts['create_repo'])
1868 return qinit(ui, repo, create=opts['create_repo'])
1869
1869
1870 def clone(ui, source, dest=None, **opts):
1870 def clone(ui, source, dest=None, **opts):
@@ -1934,7 +1934,7 b' def clone(ui, source, dest=None, **opts)'
1934 def commit(ui, repo, *pats, **opts):
1934 def commit(ui, repo, *pats, **opts):
1935 """commit changes in the queue repository (DEPRECATED)
1935 """commit changes in the queue repository (DEPRECATED)
1936
1936
1937 This command is deprecated; use hg -Q commit instead."""
1937 This command is deprecated; use hg --mq commit instead."""
1938 q = repo.mq
1938 q = repo.mq
1939 r = q.qrepo()
1939 r = q.qrepo()
1940 if not r:
1940 if not r:
@@ -2654,7 +2654,7 b' def mqcommand(orig, ui, repo, *args, **k'
2654 return orig(r.ui, r, *args, **kwargs)
2654 return orig(r.ui, r, *args, **kwargs)
2655
2655
2656 def uisetup(ui):
2656 def uisetup(ui):
2657 mqopt = [('Q', 'mq', None, _("operate on patch repository"))]
2657 mqopt = [('', 'mq', None, _("operate on patch repository"))]
2658
2658
2659 extensions.wrapcommand(commands.table, 'import', mqimport)
2659 extensions.wrapcommand(commands.table, 'import', mqimport)
2660
2660
General Comments 0
You need to be logged in to leave comments. Login now