D2316: manifest: correct the one use of iterkeys() on a dict

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Feb 18 11:26:45 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG413c179cf7d5: manifest: correct the one use of iterkeys() on a dict (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2316?vs=5834&id=5885

REVISION DETAIL
  https://phab.mercurial-scm.org/D2316

AFFECTED FILES
  mercurial/manifest.py

CHANGE DETAILS

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -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))
 



To: durin42, #hg-reviewers, pulkit, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list