Show More
@@ -305,11 +305,10 b' def share(' | |||
|
305 | 305 | if not dest: |
|
306 | 306 | dest = defaultdest(source) |
|
307 | 307 | else: |
|
308 |
dest = ui |
|
|
308 | dest = urlutil.get_clone_path(ui, dest)[1] | |
|
309 | 309 | |
|
310 | 310 | if isinstance(source, bytes): |
|
311 |
origsource = ui |
|
|
312 | source, branches = urlutil.parseurl(origsource) | |
|
311 | origsource, source, branches = urlutil.get_clone_path(ui, source) | |
|
313 | 312 | srcrepo = repository(ui, source) |
|
314 | 313 | rev, checkout = addbranchrevs(srcrepo, srcrepo, branches, None) |
|
315 | 314 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now