mercurial/revsetlang.py
changeset 43106 d783f945a701
parent 43089 c59eb1560c44
child 45776 0fc8b066928a
--- a/mercurial/revsetlang.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/revsetlang.py	Mon Oct 07 00:04:04 2019 -0400
@@ -605,7 +605,7 @@
     tree = _aliasrules.expand(aliases, tree)
     # warn about problematic (but not referred) aliases
     if warn is not None:
-        for name, alias in sorted(aliases.iteritems()):
+        for name, alias in sorted(pycompat.iteritems(aliases)):
             if alias.error and not alias.warned:
                 warn(_(b'warning: %s\n') % (alias.error))
                 alias.warned = True