changeset 36300: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 238646784294
children 5245bac09e6a
files mercurial/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))