diff -r 8ec186c1ccfe -r 0bf3b5e80d30 mercurial/interfaces/repository.py --- a/mercurial/interfaces/repository.py Mon Feb 10 21:02:22 2020 -0500 +++ b/mercurial/interfaces/repository.py Wed Feb 05 17:13:51 2020 -0500 @@ -985,18 +985,9 @@ def hasdir(dir): """Returns a bool indicating if a directory is in this manifest.""" - def matches(match): - """Generate a new manifest filtered through a matcher. - - Returns an object conforming to the ``imanifestdict`` interface. - """ - def walk(match): """Generator of paths in manifest satisfying a matcher. - This is equivalent to ``self.matches(match).iterkeys()`` except a new - manifest object is not created. - If the matcher has explicit files listed and they don't exist in the manifest, ``match.bad()`` is called for each missing file. """