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