##// END OF EJS Templates
Fix performance of dirstate.changes with ignored directories.
Bryan O'Sullivan -
r1268:c631f263 default
parent child Browse files
Show More
@@ -333,7 +333,8 b' class dirstate:'
333 l.append(fn)
333 l.append(fn)
334
334
335 if not s or stat.S_ISDIR(s.st_mode):
335 if not s or stat.S_ISDIR(s.st_mode):
336 return self.ignore(fn) and False or match(fn)
336 if self.ignore(fn): return False
337 return match(fn)
337
338
338 if not stat.S_ISREG(s.st_mode):
339 if not stat.S_ISREG(s.st_mode):
339 return False
340 return False
General Comments 0
You need to be logged in to leave comments. Login now