hgext/convert/hg.py
changeset 48914 417a1691a273
parent 48913 f254fc73d956
child 49866 2ac60a71c240
--- a/hgext/convert/hg.py	Thu Mar 03 18:28:30 2022 -0800
+++ b/hgext/convert/hg.py	Tue Mar 01 20:44:59 2022 -0800
@@ -39,7 +39,6 @@
     merge as mergemod,
     mergestate,
     phases,
-    pycompat,
     util,
 )
 from mercurial.utils import dateutil
@@ -423,7 +422,7 @@
         tagparent = tagparent or self.repo.nullid
 
         oldlines = set()
-        for branch, heads in pycompat.iteritems(self.repo.branchmap()):
+        for branch, heads in self.repo.branchmap().items():
             for h in heads:
                 if b'.hgtags' in self.repo[h]:
                     oldlines.update(