mercurial/match.py
changeset 29803 dab7069fc2bd
parent 29758 2372182e505b
child 30399 7f3593c29473
--- a/mercurial/match.py	Tue Aug 16 08:15:12 2016 +0000
+++ b/mercurial/match.py	Tue Aug 16 08:21:16 2016 +0000
@@ -320,10 +320,6 @@
             kindpats.append((kind, pat, ''))
         return kindpats
 
-    def matchessubrepo(self, subpath):
-        return (self.exact(subpath)
-                or any(f.startswith(subpath + '/') for f in self.files()))
-
 def exact(root, cwd, files, badfn=None):
     return match(root, cwd, files, exact=True, badfn=badfn)