mercurial/cacheutil.py
changeset 51520 fe8347b984f3
parent 48875 6000f5b25c9b
equal deleted inserted replaced
51519:ec640dc9cebd 51520:fe8347b984f3
    12     """return the list of cache file valuable to copy during a clone"""
    12     """return the list of cache file valuable to copy during a clone"""
    13     # In local clones we're copying all nodes, not just served
    13     # In local clones we're copying all nodes, not just served
    14     # ones. Therefore copy all branch caches over.
    14     # ones. Therefore copy all branch caches over.
    15     cachefiles = [b'branch2']
    15     cachefiles = [b'branch2']
    16     cachefiles += [b'branch2-%s' % f for f in repoview.filtertable]
    16     cachefiles += [b'branch2-%s' % f for f in repoview.filtertable]
       
    17     cachefiles += [b'branch3']
       
    18     cachefiles += [b'branch3-%s' % f for f in repoview.filtertable]
    17     cachefiles += [b'rbc-names-v1', b'rbc-revs-v1']
    19     cachefiles += [b'rbc-names-v1', b'rbc-revs-v1']
    18     cachefiles += [b'tags2']
    20     cachefiles += [b'tags2']
    19     cachefiles += [b'tags2-%s' % f for f in repoview.filtertable]
    21     cachefiles += [b'tags2-%s' % f for f in repoview.filtertable]
    20     cachefiles += [b'hgtagsfnodes1']
    22     cachefiles += [b'hgtagsfnodes1']
    21     return cachefiles
    23     return cachefiles