##// END OF EJS Templates
store: write fncache only once if there are both adds and removes...
Pulkit Goyal -
r40779:df8ed31a default
parent child Browse files
Show More
@@ -475,6 +475,8 b' class fncache(object):'
475 475 def write(self, tr):
476 476 if self._dirty:
477 477 assert self.entries is not None
478 self.entries = self.entries | self.addls
479 self.addls = set()
478 480 tr.addbackup('fncache')
479 481 fp = self.vfs('fncache', mode='wb', atomictemp=True)
480 482 if self.entries:
General Comments 0
You need to be logged in to leave comments. Login now