Mercurial > hg-stable
comparison mercurial/localrepo.py @ 8567:fea40a677d43
match: add some default args
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 24 May 2009 02:56:14 -0500 |
parents | 744d6322b05b |
children | 1323dddf8078 |
comparison
equal
deleted
inserted
replaced
8566:744d6322b05b | 8567:fea40a677d43 |
---|---|
526 if filter not in self.filterpats: | 526 if filter not in self.filterpats: |
527 l = [] | 527 l = [] |
528 for pat, cmd in self.ui.configitems(filter): | 528 for pat, cmd in self.ui.configitems(filter): |
529 if cmd == '!': | 529 if cmd == '!': |
530 continue | 530 continue |
531 mf = match_.match(self.root, '', [pat], [], [], 'glob') | 531 mf = match_.match(self.root, '', [pat]) |
532 fn = None | 532 fn = None |
533 params = cmd | 533 params = cmd |
534 for name, filterfn in self._datafilters.iteritems(): | 534 for name, filterfn in self._datafilters.iteritems(): |
535 if cmd.startswith(name): | 535 if cmd.startswith(name): |
536 fn = filterfn | 536 fn = filterfn |