diff mercurial/manifest.py @ 36333:413c179cf7d5

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
author Augie Fackler <augie@google.com>
date Sun, 18 Feb 2018 00:49:11 -0500
parents b42c47b8c9d4
children 5245bac09e6a
line wrap: on
line diff
--- 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))