##// END OF EJS Templates
manifest: improve filesnotin performance by using lazymanifest diff...
Tony Tung -
r29056:e2178f7d default
parent child Browse files
Show More
@@ -211,8 +211,10 b' class manifestdict(object):'
211
211
212 def filesnotin(self, m2):
212 def filesnotin(self, m2):
213 '''Set of files in this manifest that are not in the other'''
213 '''Set of files in this manifest that are not in the other'''
214 files = set(self)
214 diff = self.diff(m2)
215 files.difference_update(m2)
215 files = set(filepath
216 for filepath, hashflags in diff.iteritems()
217 if hashflags[1][0] is None)
216 return files
218 return files
217
219
218 @propertycache
220 @propertycache
General Comments 0
You need to be logged in to leave comments. Login now