Show More
@@ -256,13 +256,13 b' def badmatch(match, badfn):' | |||
|
256 | 256 | m.bad = badfn |
|
257 | 257 | return m |
|
258 | 258 | |
|
259 | def _donormalize(patterns, default, root, cwd, auditor, warn): | |
|
259 | def _donormalize(patterns, default, root, cwd, auditor=None, warn=None): | |
|
260 | 260 | '''Convert 'kind:pat' from the patterns list to tuples with kind and |
|
261 | 261 | normalized and rooted patterns and with listfiles expanded.''' |
|
262 | 262 | kindpats = [] |
|
263 | 263 | for kind, pat in [_patsplit(p, default) for p in patterns]: |
|
264 | 264 | if kind in cwdrelativepatternkinds: |
|
265 | pat = pathutil.canonpath(root, cwd, pat, auditor) | |
|
265 | pat = pathutil.canonpath(root, cwd, pat, auditor=auditor) | |
|
266 | 266 | elif kind in ('relglob', 'path', 'rootfilesin', 'rootglob'): |
|
267 | 267 | pat = util.normpath(pat) |
|
268 | 268 | elif kind in ('listfile', 'listfile0'): |
General Comments 0
You need to be logged in to leave comments.
Login now