diff mercurial/match.py @ 42195: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 fd384911f51b
children c7652f7440d9
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):