match: remove unused match.__iter__ implementation (API)
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 23 Apr 2019 08:39:26 -0700
changeset 42195 7edff8dd46a7
parent 42194 0da689a60163
child 42196 94e2f8437f6b
match: remove unused match.__iter__ implementation (API) Differential Revision: https://phab.mercurial-scm.org/D6305
mercurial/match.py
--- a/mercurial/match.py	Thu Mar 21 18:32:45 2019 -0700
+++ b/mercurial/match.py	Tue Apr 23 08:39:26 2019 -0700
@@ -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):