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