diff -r 53ed9b40cfc4 -r f3a8b5360100 mercurial/localrepo.py --- a/mercurial/localrepo.py Sat Feb 09 18:38:54 2008 -0200 +++ b/mercurial/localrepo.py Sat Feb 09 12:27:58 2008 -0500 @@ -501,9 +501,11 @@ for pat, cmd in self.ui.configitems(filter): mf = util.matcher(self.root, "", [pat], [], [])[1] fn = None + params = cmd for name, filterfn in self._datafilters.iteritems(): if cmd.startswith(name): fn = filterfn + params = cmd[len(name):].lstrip() break if not fn: fn = lambda s, c, **kwargs: util.filter(s, c) @@ -511,7 +513,7 @@ if not inspect.getargspec(fn)[2]: oldfn = fn fn = lambda s, c, **kwargs: oldfn(s, c) - l.append((mf, fn, cmd)) + l.append((mf, fn, params)) self.filterpats[filter] = l for mf, fn, cmd in self.filterpats[filter]: