equal
deleted
inserted
replaced
906 ): |
906 ): |
907 return False |
907 return False |
908 return True |
908 return True |
909 |
909 |
910 def update_caches(self, transaction): |
910 def update_caches(self, transaction): |
|
911 """update on disk cache |
|
912 |
|
913 If a transaction is passed, the update may be delayed to transaction |
|
914 commit.""" |
911 if self._nodemap_file is not None: |
915 if self._nodemap_file is not None: |
912 if transaction is None: |
916 if transaction is None: |
913 nodemaputil.update_persistent_nodemap(self) |
917 nodemaputil.update_persistent_nodemap(self) |
914 else: |
918 else: |
915 nodemaputil.setup_persistent_nodemap(transaction, self) |
919 nodemaputil.setup_persistent_nodemap(transaction, self) |