--- a/hgext/convert/hg.py Thu Mar 03 17:39:20 2022 -0800
+++ b/hgext/convert/hg.py Thu Mar 03 18:28:30 2022 -0800
@@ -138,7 +138,7 @@
if missings:
self.after()
- for pbranch, heads in sorted(pycompat.iteritems(missings)):
+ for pbranch, heads in sorted(missings.items()):
pbranchpath = os.path.join(self.path, pbranch)
prepo = hg.peer(self.ui, {}, pbranchpath)
self.ui.note(
@@ -595,7 +595,7 @@
maappend = ma.append
rappend = r.append
d = ctx1.manifest().diff(ctx2.manifest())
- for f, ((node1, flag1), (node2, flag2)) in pycompat.iteritems(d):
+ for f, ((node1, flag1), (node2, flag2)) in d.items():
if node2 is None:
rappend(f)
else:
@@ -621,7 +621,7 @@
cleanp2 = set()
if len(parents) == 2:
d = parents[1].manifest().diff(ctx.manifest(), clean=True)
- for f, value in pycompat.iteritems(d):
+ for f, value in d.items():
if value is None:
cleanp2.add(f)
changes = [(f, rev) for f in files if f not in self.ignored]