mercurial/commands.py
changeset 48913 f254fc73d956
parent 48875 6000f5b25c9b
child 48919 8b3f3f10e808
--- a/mercurial/commands.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/commands.py	Thu Mar 03 18:28:30 2022 -0800
@@ -2469,7 +2469,7 @@
 )
 def debugcommands(ui, cmd=b'', *args):
     """list all available commands and options"""
-    for cmd, vals in sorted(pycompat.iteritems(table)):
+    for cmd, vals in sorted(table.items()):
         cmd = cmd.split(b'|')[0]
         opts = b', '.join([i[1] for i in vals[1]])
         ui.write(b'%s: %s\n' % (cmd, opts))
@@ -7089,7 +7089,7 @@
 
     c = repo.dirstate.copies()
     copied, renamed = [], []
-    for d, s in pycompat.iteritems(c):
+    for d, s in c.items():
         if s in status.removed:
             status.removed.remove(s)
             renamed.append(d)