equal
deleted
inserted
replaced
388 os.mkdir(dstcachedir) |
388 os.mkdir(dstcachedir) |
389 util.copyfile(srcbranchcache, dstbranchcache) |
389 util.copyfile(srcbranchcache, dstbranchcache) |
390 |
390 |
391 dstcachedir = os.path.join(destpath, 'cache') |
391 dstcachedir = os.path.join(destpath, 'cache') |
392 # In local clones we're copying all nodes, not just served |
392 # In local clones we're copying all nodes, not just served |
393 # ones. Therefore copy all branchcaches over. |
393 # ones. Therefore copy all branch caches over. |
394 copybranchcache('branch2') |
394 copybranchcache('branch2') |
395 for cachename in repoview.filtertable: |
395 for cachename in repoview.filtertable: |
396 copybranchcache('branch2-%s' % cachename) |
396 copybranchcache('branch2-%s' % cachename) |
397 |
397 |
398 # we need to re-init the repo after manually copying the data |
398 # we need to re-init the repo after manually copying the data |