Comments
Patch
@@ -425,7 +425,8 @@ def _cachetocopy(srcrepo):
# In local clones we're copying all nodes, not just served
# ones. Therefore copy all branch caches over.
cachefiles = ['branch2']
- cachefiles.extend('branch2-%s' % f for f in repoview.filtertable)
+ cachefiles += ['branch2-%s' % f for f in repoview.filtertable]
+ cachefiles += ['rbc-names-v1', 'rbc-revs-v1']
return cachefiles
def clone(ui, peeropts, source, dest=None, pull=False, rev=None,
@@ -52,6 +52,8 @@ Ensure branchcache got copied over:
checkisexec (execbit !)
checklink (symlink !)
checklink-target (symlink !)
+ rbc-names-v1
+ rbc-revs-v1
$ cat a
a
@@ -99,6 +101,8 @@ Ensure branchcache got copied over:
$ ls .hg/cache
branch2-served
+ rbc-names-v1
+ rbc-revs-v1
$ cat a 2>/dev/null || echo "a not present"
a not present