##// END OF EJS Templates
dirstate._walkexplicit: inline dirsnotfound.append
Siddharth Agarwal -
r19175:63f7bd2e default
parent child Browse files
Show More
@@ -559,6 +559,7 class dirstate(object):
559 dirsfound = []
559 dirsfound = []
560 foundadd = dirsfound.append
560 foundadd = dirsfound.append
561 dirsnotfound = []
561 dirsnotfound = []
562 notfoundadd = dirsnotfound.append
562
563
563 if match.matchfn != match.exact and self._checkcase:
564 if match.matchfn != match.exact and self._checkcase:
564 normalize = self._normalize
565 normalize = self._normalize
@@ -615,7 +616,7 class dirstate(object):
615 if fn.startswith(prefix):
616 if fn.startswith(prefix):
616 if matchedir:
617 if matchedir:
617 matchedir(nf)
618 matchedir(nf)
618 dirsnotfound.append(nf)
619 notfoundadd(nf)
619 break
620 break
620 else:
621 else:
621 badfn(ff, inst.strerror)
622 badfn(ff, inst.strerror)
General Comments 0
You need to be logged in to leave comments. Login now