##// END OF EJS Templates
dirstate.walk: fast path none-seen + match-always case for step 3...
Siddharth Agarwal -
r18815:a18919de default
parent child Browse files
Show More
@@ -705,7 +705,12 b' class dirstate(object):'
705 705
706 706 # step 3: report unseen items in the dmap hash
707 707 if not skipstep3 and not exact:
708 visit = sorted([f for f in dmap if f not in results and matchfn(f)])
708 if not results and matchalways:
709 visit = dmap.keys()
710 else:
711 visit = [f for f in dmap if f not in results and matchfn(f)]
712 visit.sort()
713
709 714 if unknown:
710 715 # unknown == True means we walked the full directory tree above.
711 716 # So if a file is not seen it was either a) not matching matchfn
General Comments 0
You need to be logged in to leave comments. Login now