##// END OF EJS Templates
mq: iterate over a copy of the command table keys (fixes issue2045)....
Brendan Cully -
r10498:dc9a803c stable
parent child Browse files
Show More
@@ -2664,7 +2664,7 b' def uisetup(ui):'
2664 entry = extensions.wrapcommand(commands.table, 'init', mqinit)
2664 entry = extensions.wrapcommand(commands.table, 'init', mqinit)
2665 entry[1].extend(mqopt)
2665 entry[1].extend(mqopt)
2666
2666
2667 for cmd in commands.table:
2667 for cmd in commands.table.keys():
2668 cmd = cmdutil.parsealiases(cmd)[0]
2668 cmd = cmdutil.parsealiases(cmd)[0]
2669 if cmd in commands.norepo:
2669 if cmd in commands.norepo:
2670 continue
2670 continue
General Comments 0
You need to be logged in to leave comments. Login now