##// END OF EJS Templates
match: remove matchessubrepo method (API)...
Hannes Oldenburg -
r29803:dab7069f default
parent child Browse files
Show More
@@ -320,10 +320,6 b' class match(object):'
320 kindpats.append((kind, pat, ''))
320 kindpats.append((kind, pat, ''))
321 return kindpats
321 return kindpats
322
322
323 def matchessubrepo(self, subpath):
324 return (self.exact(subpath)
325 or any(f.startswith(subpath + '/') for f in self.files()))
326
327 def exact(root, cwd, files, badfn=None):
323 def exact(root, cwd, files, badfn=None):
328 return match(root, cwd, files, exact=True, badfn=badfn)
324 return match(root, cwd, files, exact=True, badfn=badfn)
329
325
General Comments 0
You need to be logged in to leave comments. Login now