manifest: correct the one use of iterkeys() on a dict
authorAugie Fackler <augie@google.com>
Sun, 18 Feb 2018 00:49:11 -0500
changeset 36300 413c179cf7d5
parent 36299 238646784294
child 36301 5245bac09e6a
manifest: correct the one use of iterkeys() on a dict As far as I can tell, this is the only iterkeys() in this file that was actually on a dict. The rest are on custom manifest types. Differential Revision: https://phab.mercurial-scm.org/D2316
mercurial/manifest.py
--- a/mercurial/manifest.py	Sun Feb 18 00:43:50 2018 -0500
+++ b/mercurial/manifest.py	Sun Feb 18 00:49:11 2018 -0500
@@ -960,7 +960,7 @@
                 else:
                     files.update(m1.iterkeys())
 
-            for fn in t1._files.iterkeys():
+            for fn in t1._files:
                 if fn not in t2._files:
                     files.add(t1._subpath(fn))