changeset 10797:e8611ef6bdfb

Merge with stable
author Brendan Cully <brendan@kublai.com>
date Wed, 31 Mar 2010 15:09:59 -0700
parents 8f4c95368313 (current diff) ce2ae8bf3ae3 (diff)
children fa7a14277cef
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)