##// END OF EJS Templates
match: allow passing in badfn to always() and never()...
Martin von Zweigbergk -
r41821:c302218a default
parent child Browse files
Show More
@@ -194,11 +194,11 b' def match(root, cwd, patterns=None, incl'
194 def exact(root, cwd, files, badfn=None):
194 def exact(root, cwd, files, badfn=None):
195 return exactmatcher(root, cwd, files, badfn=badfn)
195 return exactmatcher(root, cwd, files, badfn=badfn)
196
196
197 def always(root, cwd):
197 def always(root, cwd, badfn=None):
198 return alwaysmatcher(root, cwd)
198 return alwaysmatcher(root, cwd, badfn=badfn)
199
199
200 def never(root, cwd):
200 def never(root, cwd, badfn=None):
201 return nevermatcher(root, cwd)
201 return nevermatcher(root, cwd, badfn=badfn)
202
202
203 def badmatch(match, badfn):
203 def badmatch(match, badfn):
204 """Make a copy of the given matcher, replacing its bad method with the given
204 """Make a copy of the given matcher, replacing its bad method with the given
General Comments 0
You need to be logged in to leave comments. Login now