Patchwork D3924: manifest: just duplicate the definition of items as iteritems

login
register
mail settings
Submitter phabricator
Date July 11, 2018, 6:12 p.m.
Message ID <58029e0814ed8e99680fcac7469d2345@localhost.localdomain>
Download mbox | patch
Permalink /patch/32795/
State Not Applicable
Headers show

Comments

phabricator - July 11, 2018, 6:12 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG28c9d67d88ab: manifest: just duplicate the definition of items as iteritems (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3924?vs=9542&id=9554

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

AFFECTED FILES
  mercurial/manifest.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -534,7 +534,8 @@ 
     def items(self):
         return (x[:2] for x in self._lm.iterentries())
 
-    iteritems = items
+    def iteritems(self):
+        return (x[:2] for x in self._lm.iterentries())
 
     def iterentries(self):
         return self._lm.iterentries()