changeset 42230:7edff8dd46a7

match: remove unused match.__iter__ implementation (API) Differential Revision: https://phab.mercurial-scm.org/D6305
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 23 Apr 2019 08:39:26 -0700
parents 0da689a60163
children 94e2f8437f6b
files mercurial/match.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):