Show More
@@ -510,7 +510,7 b' class localrepository(repo.repository):' | |||
|
510 | 510 | def _link(self, f): |
|
511 | 511 | return os.path.islink(self.wjoin(f)) |
|
512 | 512 | |
|
513 |
def _filter(self, filter |
|
|
513 | def _loadfilter(self, filter): | |
|
514 | 514 | if filter not in self.filterpats: |
|
515 | 515 | l = [] |
|
516 | 516 | for pat, cmd in self.ui.configitems(filter): |
@@ -533,6 +533,9 b' class localrepository(repo.repository):' | |||
|
533 | 533 | l.append((mf, fn, params)) |
|
534 | 534 | self.filterpats[filter] = l |
|
535 | 535 | |
|
536 | def _filter(self, filter, filename, data): | |
|
537 | self._loadfilter(filter) | |
|
538 | ||
|
536 | 539 | for mf, fn, cmd in self.filterpats[filter]: |
|
537 | 540 | if mf(filename): |
|
538 | 541 | self.ui.debug("filtering %s through %s\n" % (filename, cmd)) |
General Comments 0
You need to be logged in to leave comments.
Login now