Show More
@@ -367,7 +367,7 b' def clone(ui, peeropts, source, dest=Non' | |||||
367 | # Recomputing branch cache might be slow on big repos, |
|
367 | # Recomputing branch cache might be slow on big repos, | |
368 | # so just copy it |
|
368 | # so just copy it | |
369 | dstcachedir = os.path.join(destpath, 'cache') |
|
369 | dstcachedir = os.path.join(destpath, 'cache') | |
370 |
srcbranchcache = srcrepo. |
|
370 | srcbranchcache = srcrepo.join('cache/branch2') | |
371 | dstbranchcache = os.path.join(dstcachedir, 'branch2') |
|
371 | dstbranchcache = os.path.join(dstcachedir, 'branch2') | |
372 | if os.path.exists(srcbranchcache): |
|
372 | if os.path.exists(srcbranchcache): | |
373 | if not os.path.exists(dstcachedir): |
|
373 | if not os.path.exists(dstcachedir): |
General Comments 0
You need to be logged in to leave comments.
Login now