mercurial/revsetlang.py
changeset 48913 f254fc73d956
parent 48875 6000f5b25c9b
child 49284 d44e3c45f0e4
--- a/mercurial/revsetlang.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/revsetlang.py	Thu Mar 03 18:28:30 2022 -0800
@@ -612,7 +612,7 @@
     tree = _aliasrules.expand(aliases, tree)
     # warn about problematic (but not referred) aliases
     if warn is not None:
-        for name, alias in sorted(pycompat.iteritems(aliases)):
+        for name, alias in sorted(aliases.items()):
             if alias.error and not alias.warned:
                 warn(_(b'warning: %s\n') % (alias.error))
                 alias.warned = True