Mercurial > public > mercurial-scm > hg
comparison mercurial/cacheutil.py @ 51961:145f66ea1664
branchmap: use the proper experimental name in cacheutil
Otherwise they are not properly copied around.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 25 Sep 2024 16:38:31 +0200 |
parents | 0f26ee69cf36 |
children |
comparison
equal
deleted
inserted
replaced
51960:d7f17819ae9e | 51961:145f66ea1664 |
---|---|
14 """return the list of cache file valuable to copy during a clone""" | 14 """return the list of cache file valuable to copy during a clone""" |
15 # In local clones we're copying all nodes, not just served | 15 # In local clones we're copying all nodes, not just served |
16 # ones. Therefore copy all branch caches over. | 16 # ones. Therefore copy all branch caches over. |
17 cachefiles = [b'branch2'] | 17 cachefiles = [b'branch2'] |
18 cachefiles += [b'branch2-%s' % f for f in repoview.filtertable] | 18 cachefiles += [b'branch2-%s' % f for f in repoview.filtertable] |
19 cachefiles += [b'branch3'] | 19 cachefiles += [b'branch3-exp'] |
20 cachefiles += [b'branch3-%s' % f for f in repoview.filtertable] | 20 cachefiles += [b'branch3-exp-%s' % f for f in repoview.filtertable] |
21 cachefiles += [b'rbc-names-v2', b'rbc-revs-v2'] | 21 cachefiles += [b'rbc-names-v2', b'rbc-revs-v2'] |
22 cachefiles += [b'tags2'] | 22 cachefiles += [b'tags2'] |
23 cachefiles += [b'tags2-%s' % f for f in repoview.filtertable] | 23 cachefiles += [b'tags2-%s' % f for f in repoview.filtertable] |
24 cachefiles += [b'hgtagsfnodes1'] | 24 cachefiles += [b'hgtagsfnodes1'] |
25 return cachefiles | 25 return cachefiles |