Show More
@@ -277,6 +277,7 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
277 | 277 | % dest) |
|
278 | 278 | raise |
|
279 | 279 | |
|
280 | hardlink = None | |
|
280 | 281 | for f in src_repo.store.copylist(): |
|
281 | 282 | src = os.path.join(src_repo.sharedpath, f) |
|
282 | 283 | dst = os.path.join(dest_path, f) |
@@ -287,7 +288,7 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
287 | 288 | if dst.endswith('data'): |
|
288 | 289 | # lock to avoid premature writing to the target |
|
289 | 290 | dest_lock = lock.lock(os.path.join(dstbase, "lock")) |
|
290 | util.copyfiles(src, dst) | |
|
291 | hardlink = util.copyfiles(src, dst, hardlink) | |
|
291 | 292 | |
|
292 | 293 | # we need to re-init the repo after manually copying the data |
|
293 | 294 | # into it |
General Comments 0
You need to be logged in to leave comments.
Login now