mercurial/hg.py
changeset 23139 e53f6b72a0e4
parent 22837 2be7d5ebd4d0
child 23545 68c434799559
equal deleted inserted replaced
23136:6eab50a34fed 23139:e53f6b72a0e4
   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