--- a/hgext/mq.py Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/mq.py Sun Oct 06 19:25:18 2019 -0400
@@ -2001,7 +2001,7 @@
# we can't copy a file created by the patch itself
if dst in copies:
del copies[dst]
- for src, dsts in copies.iteritems():
+ for src, dsts in pycompat.iteritems(copies):
for dst in dsts:
repo.dirstate.copy(src, dst)
else:
@@ -4263,7 +4263,7 @@
entry[1].extend(mqopt)
def dotable(cmdtable):
- for cmd, entry in cmdtable.iteritems():
+ for cmd, entry in pycompat.iteritems(cmdtable):
cmd = cmdutil.parsealiases(cmd)[0]
func = entry[0]
if func.norepo: