equal
deleted
inserted
replaced
253 raise util.Abort(_("destination '%s' already exists") |
253 raise util.Abort(_("destination '%s' already exists") |
254 % dest) |
254 % dest) |
255 raise |
255 raise |
256 |
256 |
257 for f in src_repo.store.copylist(): |
257 for f in src_repo.store.copylist(): |
258 src = os.path.join(src_repo.path, f) |
258 src = os.path.join(src_repo.sharedpath, f) |
259 dst = os.path.join(dest_path, f) |
259 dst = os.path.join(dest_path, f) |
260 dstbase = os.path.dirname(dst) |
260 dstbase = os.path.dirname(dst) |
261 if dstbase and not os.path.exists(dstbase): |
261 if dstbase and not os.path.exists(dstbase): |
262 os.mkdir(dstbase) |
262 os.mkdir(dstbase) |
263 if os.path.exists(src): |
263 if os.path.exists(src): |