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

login
register
mail settings
Submitter phabricator
Date Feb. 18, 2018, 4:26 p.m.
Message ID <01caabe4d0a424d59fe8d5bdea392e5b@localhost.localdomain>
Download mbox | patch
Permalink /patch/28111/
State Not Applicable
Headers show

Comments

phabricator - Feb. 18, 2018, 4:26 p.m.
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




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

Patch

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))