hgext/mq.py
changeset 43105 649d3ac37a12
parent 43090 1f339b503a40
child 43117 8ff1ecfadcd1
--- 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: