Mercurial > hg-stable
diff mercurial/localrepo.py @ 7226:b71a52f101dc
Make it possible to disable filtering for a pattern.
Rationale: Apparently there were no way to disable for example win32text extension locally.
RFC: Can it already be done another way?
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 14 Oct 2008 21:28:49 +0200 |
parents | acb87c5b4aeb |
children | 7946503ec76e |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Oct 21 17:47:49 2008 +0200 +++ b/mercurial/localrepo.py Tue Oct 14 21:28:49 2008 +0200 @@ -501,6 +501,8 @@ if filter not in self.filterpats: l = [] for pat, cmd in self.ui.configitems(filter): + if cmd == '!': + continue mf = util.matcher(self.root, "", [pat], [], [])[1] fn = None params = cmd