Mercurial > hg
diff hgext/mq.py @ 10809:da3b4b7a45ce stable
Merge with i18n
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 01 Apr 2010 17:40:47 -0500 |
parents | 1ebba857b371 ce2ae8bf3ae3 |
children | cd0c49bdbfd9 9606edb8777e |
line wrap: on
line diff
--- 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)