mercurial/localrepo.py
changeset 51449 7f7086a42b2b
parent 51404 04111ef08fb0
child 51457 c0d51565b501
--- a/mercurial/localrepo.py	Mon Feb 26 12:59:57 2024 +0100
+++ b/mercurial/localrepo.py	Fri Jan 19 11:30:10 2024 +0100
@@ -2973,7 +2973,7 @@
             # they're a subset of another kind of cache that *has* been used).
             for filt in repoview.filtertable.keys():
                 filtered = self.filtered(filt)
-                filtered.branchmap().write(filtered)
+                self._branchcaches.update_disk(filtered)
 
     def invalidatecaches(self):
         if '_tagscache' in vars(self):