Show More
@@ -559,7 +559,7 b' def clone(ui, peeropts, source, dest=Non' | |||
|
559 | 559 | |
|
560 | 560 | destlock = copystore(ui, srcrepo, destpath) |
|
561 | 561 | # copy bookmarks over |
|
562 | srcbookmarks = srcrepo.join('bookmarks') | |
|
562 | srcbookmarks = srcrepo.vfs.join('bookmarks') | |
|
563 | 563 | dstbookmarks = os.path.join(destpath, 'bookmarks') |
|
564 | 564 | if os.path.exists(srcbookmarks): |
|
565 | 565 | util.copyfile(srcbookmarks, dstbookmarks) |
@@ -567,7 +567,7 b' def clone(ui, peeropts, source, dest=Non' | |||
|
567 | 567 | # Recomputing branch cache might be slow on big repos, |
|
568 | 568 | # so just copy it |
|
569 | 569 | def copybranchcache(fname): |
|
570 | srcbranchcache = srcrepo.join('cache/%s' % fname) | |
|
570 | srcbranchcache = srcrepo.vfs.join('cache/%s' % fname) | |
|
571 | 571 | dstbranchcache = os.path.join(dstcachedir, fname) |
|
572 | 572 | if os.path.exists(srcbranchcache): |
|
573 | 573 | if not os.path.exists(dstcachedir): |
General Comments 0
You need to be logged in to leave comments.
Login now