hgext/mq.py
changeset 21771 0f3353776038
parent 21714 635a8201e356
child 21786 c85a0c3537b2
--- a/hgext/mq.py	Sun May 04 21:11:15 2014 -0700
+++ b/hgext/mq.py	Sun May 04 22:04:14 2014 -0700
@@ -72,8 +72,6 @@
 from mercurial import subrepo
 import os, re, errno, shutil
 
-commands.norepo += " qclone"
-
 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]
 
 cmdtable = {}
@@ -2255,7 +2253,8 @@
           ('p', 'patches', '',
            _('location of source patch repository'), _('REPO')),
          ] + commands.remoteopts,
-         _('hg qclone [OPTION]... SOURCE [DEST]'))
+         _('hg qclone [OPTION]... SOURCE [DEST]'),
+         norepo=True)
 def clone(ui, source, dest=None, **opts):
     '''clone main and patch repository at same time