mercurial/revlog.py
changeset 51002 569eb5d0420d
parent 51001 39fa0b948f5a
child 51003 6c3798b4597f
--- a/mercurial/revlog.py	Tue Sep 19 23:10:05 2023 +0200
+++ b/mercurial/revlog.py	Tue Sep 19 23:13:16 2023 +0200
@@ -908,6 +908,10 @@
         return True
 
     def update_caches(self, transaction):
+        """update on disk cache
+
+        If a transaction is passed, the update may be delayed to transaction
+        commit."""
         if self._nodemap_file is not None:
             if transaction is None:
                 nodemaputil.update_persistent_nodemap(self)