Show More
@@ -363,6 +363,11 b' def clone(ui, peeropts, source, dest=Non' | |||||
363 | raise |
|
363 | raise | |
364 |
|
364 | |||
365 | destlock = copystore(ui, srcrepo, destpath) |
|
365 | destlock = copystore(ui, srcrepo, destpath) | |
|
366 | # copy bookmarks over | |||
|
367 | srcbookmarks = srcrepo.join('bookmarks') | |||
|
368 | dstbookmarks = os.path.join(destpath, 'bookmarks') | |||
|
369 | if os.path.exists(srcbookmarks): | |||
|
370 | util.copyfile(srcbookmarks, dstbookmarks) | |||
366 |
|
371 | |||
367 | # Recomputing branch cache might be slow on big repos, |
|
372 | # Recomputing branch cache might be slow on big repos, | |
368 | # so just copy it |
|
373 | # so just copy it |
General Comments 0
You need to be logged in to leave comments.
Login now