Show More
@@ -243,13 +243,15 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
243 | 243 | |
|
244 | 244 | src_lock = dest_lock = dir_cleanup = None |
|
245 | 245 | try: |
|
246 | abspath = origsource | |
|
247 | if islocal(origsource): | |
|
248 | abspath = os.path.abspath(util.localpath(origsource)) | |
|
249 | ||
|
246 | 250 | if islocal(dest): |
|
247 | 251 | dir_cleanup = DirCleanup(dest) |
|
248 | 252 | |
|
249 | abspath = origsource | |
|
250 | 253 | copy = False |
|
251 | 254 | if src_repo.cancopy() and islocal(dest): |
|
252 | abspath = os.path.abspath(util.localpath(origsource)) | |
|
253 | 255 | copy = not pull and not rev |
|
254 | 256 | |
|
255 | 257 | if copy: |
General Comments 0
You need to be logged in to leave comments.
Login now