branch | stable |
changeset 17844 | b32e55e6c3c7 |
parent 17756 | 92980a8dfdfe |
child 17867 | c9339efed653 |
--- a/mercurial/hg.py Fri Oct 19 15:45:16 2012 +0200 +++ b/mercurial/hg.py Fri Oct 19 14:47:55 2012 -0500 @@ -115,7 +115,7 @@ def defaultdest(source): '''return default destination of clone if none is given''' - return os.path.basename(os.path.normpath(source)) + return os.path.basename(os.path.normpath(util.url(source).path)) def share(ui, source, dest=None, update=True): '''create a shared repository'''