# HG changeset patch # User Pierre-Yves David # Date 1727778550 -7200 # Node ID c6ed4b359c4cd3a224a6c93f9b5e97750ef539ac # Parent d7e9503c07d2a3b4783aefa87974232292ba3be1 branchmap-v3: make sure we write the cache after detecting pure-topo mode We were properly detecting the pure topo-case but in some case the one disk cache file was never updated with that information. diff -r d7e9503c07d2 -r c6ed4b359c4c mercurial/branchmap.py --- a/mercurial/branchmap.py Fri Oct 11 00:56:20 2024 -0400 +++ b/mercurial/branchmap.py Tue Oct 01 12:29:10 2024 +0200 @@ -1070,6 +1070,7 @@ for branch, heads in self._entries.items(): if heads == topo_heads: self._pure_topo_branch = branch + self._state = STATE_DIRTY break