##// END OF EJS Templates
match: make basematcher._files a @propertycache...
Martin von Zweigbergk -
r32455:9f781f43 default
parent child Browse files
Show More
@@ -209,7 +209,6 b' class basematcher(object):'
209 209 self._cwd = cwd
210 210 if badfn is not None:
211 211 self.bad = badfn
212 self._files = [] # exact files and roots of patterns
213 212 self.matchfn = lambda f: False
214 213
215 214 def __call__(self, fn):
@@ -247,6 +246,10 b' class basematcher(object):'
247 246 Otherwise it is relative to the root of the repo.'''
248 247 return self.rel(f)
249 248
249 @propertycache
250 def _files(self):
251 return []
252
250 253 def files(self):
251 254 '''Explicitly listed files or patterns or roots:
252 255 if no patterns or .always(): empty list,
General Comments 0
You need to be logged in to leave comments. Login now