diff mercurial/cacheutil.py @ 51562:fe8347b984f3

branchcache-v3: introduce a v3 format For now the format is the very same, however we will start changing it in future changesets.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 26 Feb 2024 14:20:36 +0100
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line diff
--- a/mercurial/cacheutil.py	Tue Feb 27 14:04:29 2024 +0100
+++ b/mercurial/cacheutil.py	Mon Feb 26 14:20:36 2024 +0100
@@ -14,6 +14,8 @@
     # ones. Therefore copy all branch caches over.
     cachefiles = [b'branch2']
     cachefiles += [b'branch2-%s' % f for f in repoview.filtertable]
+    cachefiles += [b'branch3']
+    cachefiles += [b'branch3-%s' % f for f in repoview.filtertable]
     cachefiles += [b'rbc-names-v1', b'rbc-revs-v1']
     cachefiles += [b'tags2']
     cachefiles += [b'tags2-%s' % f for f in repoview.filtertable]