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):