hgext/mq.py
branchstable
changeset 10796 ce2ae8bf3ae3
parent 10770 fe39f0160c74
child 10797 e8611ef6bdfb
child 10809 da3b4b7a45ce
--- a/hgext/mq.py	Fri Mar 26 21:37:18 2010 +0100
+++ b/hgext/mq.py	Wed Mar 31 10:59:00 2010 -0400
@@ -2669,9 +2669,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)