Show More
@@ -89,6 +89,8 b' def share(ui, source, dest=None, update=' | |||
|
89 | 89 | |
|
90 | 90 | if not dest: |
|
91 | 91 | dest = os.path.basename(source) |
|
92 | else: | |
|
93 | dest = ui.expandpath(dest) | |
|
92 | 94 | |
|
93 | 95 | if isinstance(source, str): |
|
94 | 96 | origsource = ui.expandpath(source) |
@@ -189,6 +191,8 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
189 | 191 | if dest is None: |
|
190 | 192 | dest = defaultdest(source) |
|
191 | 193 | ui.status(_("destination directory: %s\n") % dest) |
|
194 | else: | |
|
195 | dest = ui.expandpath(dest) | |
|
192 | 196 | |
|
193 | 197 | dest = localpath(dest) |
|
194 | 198 | source = localpath(source) |
General Comments 0
You need to be logged in to leave comments.
Login now