Show More
@@ -218,9 +218,11 b' class dirstate:' | |||||
218 | dc = self.filterfiles(files) |
|
218 | dc = self.filterfiles(files) | |
219 |
|
219 | |||
220 | def statmatch(file, stat): |
|
220 | def statmatch(file, stat): | |
|
221 | file = util.pconvert(file) | |||
221 | if file not in dc and self.ignore(file): |
|
222 | if file not in dc and self.ignore(file): | |
222 | return False |
|
223 | return False | |
223 | return match(file) |
|
224 | return match(file) | |
|
225 | ||||
224 | return self.walkhelper(files=files, statmatch=statmatch, dc=dc) |
|
226 | return self.walkhelper(files=files, statmatch=statmatch, dc=dc) | |
225 |
|
227 | |||
226 | # walk recursively through the directory tree, finding all files |
|
228 | # walk recursively through the directory tree, finding all files | |
@@ -324,6 +326,7 b' class dirstate:' | |||||
324 | # and put files into the appropriate array. This gets passed |
|
326 | # and put files into the appropriate array. This gets passed | |
325 | # to the walking code |
|
327 | # to the walking code | |
326 | def statmatch(fn, s): |
|
328 | def statmatch(fn, s): | |
|
329 | fn = util.pconvert(fn) | |||
327 | def checkappend(l, fn): |
|
330 | def checkappend(l, fn): | |
328 | if match is util.always or match(fn): |
|
331 | if match is util.always or match(fn): | |
329 | l.append(fn) |
|
332 | l.append(fn) |
General Comments 0
You need to be logged in to leave comments.
Login now