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