Add missing --mq option to hg log.
Since norepo is a string, not a list, the norepo check was matching
command names against any substring in norepo. This fix splits norepo
into a list of commands.
--- 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)