changeset 1892 | 622ee75cb4c9 |
parent 1889 | 468730910353 |
child 1893 | 6569651a4f1e |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -718,8 +718,7 @@ def clone(ui, source, dest=None, **opts) if opts['remotecmd']: ui.setconfig("ui", "remotecmd", opts['remotecmd']) - if not os.path.exists(source): - source = ui.expandpath(source) + source = ui.expandpath(source) d = Dircleanup(dest) abspath = source