mercurial/hg.py
changeset 5239 76c4cadb49fc
parent 5237 fe55e3d6dc0b
child 5241 5517aa5aafb0
child 5276 aea35488ea66
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -141,7 +141,7 @@ def clone(ui, source, dest=None, pull=Fa
     abspath = origsource
     copy = False
     if src_repo.local() and islocal(dest):
-        abspath = os.path.abspath(origsource)
+        abspath = os.path.abspath(util.drop_scheme('file', origsource))
         copy = not pull and not rev
 
     src_lock, dest_lock = None, None