##// END OF EJS Templates
manifest: speed up matches for large sets of files...
Matt Mackall -
r24350:7002ad14 default
parent child Browse files
Show More
@@ -164,7 +164,7 b' class manifestdict(object):'
164 return self.copy()
164 return self.copy()
165
165
166 files = match.files()
166 files = match.files()
167 if (match.matchfn == match.exact or
167 if ((match.matchfn == match.exact and len(files) < 100) or
168 (not match.anypats() and util.all(fn in self for fn in files))):
168 (not match.anypats() and util.all(fn in self for fn in files))):
169 return self.intersectfiles(files)
169 return self.intersectfiles(files)
170
170
General Comments 0
You need to be logged in to leave comments. Login now