Show More
@@ -996,6 +996,7 b' class localrepository(object):' | |||
|
996 | 996 | except AttributeError: |
|
997 | 997 | pass |
|
998 | 998 | self.invalidatecaches() |
|
999 | self.store.invalidatecaches() | |
|
999 | 1000 | |
|
1000 | 1001 | def invalidateall(self): |
|
1001 | 1002 | '''Fully invalidates both store and non-store parts, causing the |
@@ -340,6 +340,9 b' class basicstore(object):' | |||
|
340 | 340 | def write(self, tr): |
|
341 | 341 | pass |
|
342 | 342 | |
|
343 | def invalidatecaches(self): | |
|
344 | pass | |
|
345 | ||
|
343 | 346 | def __contains__(self, path): |
|
344 | 347 | '''Checks if the store contains path''' |
|
345 | 348 | path = "/".join(("data", path)) |
@@ -489,6 +492,9 b' class fncachestore(basicstore):' | |||
|
489 | 492 | def write(self, tr): |
|
490 | 493 | self.fncache.write(tr) |
|
491 | 494 | |
|
495 | def invalidatecaches(self): | |
|
496 | self.fncache.entries = None | |
|
497 | ||
|
492 | 498 | def _exists(self, f): |
|
493 | 499 | ef = self.encode(f) |
|
494 | 500 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now