changeset 52039:c6ed4b359c4c

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 01 Oct 2024 12:29:10 +0200
parents d7e9503c07d2
children 5713adc51f2a
files mercurial/branchmap.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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