diff mercurial/cacheutil.py @ 51943:0f26ee69cf36

rev-branch-cache: increment the version to "v2" We want to ensure no older clients will truncate the file under us. So we need to change their name. We don't change the rest of the format (unfortunaly).
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 24 Sep 2024 03:16:35 +0200
parents f4733654f144
children 145f66ea1664
line wrap: on
line diff
--- a/mercurial/cacheutil.py	Tue Sep 24 00:16:23 2024 +0200
+++ b/mercurial/cacheutil.py	Tue Sep 24 03:16:35 2024 +0200
@@ -18,7 +18,7 @@
     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'rbc-names-v2', b'rbc-revs-v2']
     cachefiles += [b'tags2']
     cachefiles += [b'tags2-%s' % f for f in repoview.filtertable]
     cachefiles += [b'hgtagsfnodes1']