Merge with stable
authorBrendan Cully <brendan@kublai.com>
Wed, 31 Mar 2010 15:09:59 -0700
changeset 10797 e8611ef6bdfb
parent 10795 8f4c95368313 (current diff)
parent 10796 ce2ae8bf3ae3 (diff)
child 10799 fa7a14277cef
Merge with stable
hgext/mq.py
--- a/hgext/mq.py	Wed Mar 31 17:32:19 2010 +0200
+++ b/hgext/mq.py	Wed Mar 31 15:09:59 2010 -0700
@@ -2643,9 +2643,10 @@
     entry = extensions.wrapcommand(commands.table, 'init', mqinit)
     entry[1].extend(mqopt)
 
+    norepo = commands.norepo.split(" ")
     for cmd in commands.table.keys():
         cmd = cmdutil.parsealiases(cmd)[0]
-        if cmd in commands.norepo:
+        if cmd in norepo:
             continue
         entry = extensions.wrapcommand(commands.table, cmd, mqcommand)
         entry[1].extend(mqopt)