branch | stable |
changeset 10809 | da3b4b7a45ce |
parent 10808 | 1ebba857b371 |
parent 10796 | ce2ae8bf3ae3 |
child 10814 | cd0c49bdbfd9 |
child 10872 | 9606edb8777e |
--- a/hgext/mq.py Thu Apr 01 19:32:08 2010 -0300 +++ b/hgext/mq.py Thu Apr 01 17:40:47 2010 -0500 @@ -2668,9 +2668,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)