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