##// END OF EJS Templates
revlog: document the `update_caches` method...
marmoute -
r51898:569eb5d0 default
parent child Browse files
Show More
@@ -908,6 +908,10 b' class revlog:'
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)
General Comments 0
You need to be logged in to leave comments. Login now