mercurial/phases.py
changeset 43106 d783f945a701
parent 43089 c59eb1560c44
child 43538 9970412d2ce3
--- a/mercurial/phases.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/phases.py	Mon Oct 07 00:04:04 2019 -0400
@@ -673,7 +673,7 @@
     # build list from dictionary
     draftroots = []
     nodemap = repo.changelog.nodemap  # to filter unknown nodes
-    for nhex, phase in roots.iteritems():
+    for nhex, phase in pycompat.iteritems(roots):
         if nhex == b'publishing':  # ignore data related to publish option
             continue
         node = bin(nhex)