Use post-expanded clone pathname as default
authormpm@selenic.com
Fri, 19 Aug 2005 22:48:43 -0800
changeset 965 a425123e6afe
parent 964 3f37720e7dc7
child 966 022bcc738389
Use post-expanded clone pathname as default
mercurial/commands.py
--- a/mercurial/commands.py	Fri Aug 19 22:12:40 2005 -0800
+++ b/mercurial/commands.py	Fri Aug 19 22:48:43 2005 -0800
@@ -495,8 +495,8 @@
         ui.setconfig("ui", "remotecmd", opts['remotecmd'])
 
     d = Dircleanup(dest)
+    source = ui.expandpath(source)
     abspath = source
-    source = ui.expandpath(source)
     other = hg.repository(ui, source)
 
     if other.dev() != -1: