Patchwork D6305: match: remove unused match.__iter__ implementation (API)

login
register
mail settings
Submitter phabricator
Date April 23, 2019, 11:25 p.m.
Message ID <7dc480e5be26b6a95e8bd2995a21b042@localhost.localdomain>
Download mbox | patch
Permalink /patch/39809/
State Not Applicable
Headers show

Comments

phabricator - April 23, 2019, 11:25 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7edff8dd46a7: match: remove unused match.__iter__ implementation (API) (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6305?vs=14898&id=14903

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

AFFECTED FILES
  mercurial/match.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -305,9 +305,6 @@ 
 
     def __call__(self, fn):
         return self.matchfn(fn)
-    def __iter__(self):
-        for f in self._files:
-            yield f
     # Callbacks related to how the matcher is used by dirstate.walk.
     # Subscribers to these events must monkeypatch the matcher object.
     def bad(self, f, msg):