changeset 965:a425123e6afe

Use post-expanded clone pathname as default
author mpm@selenic.com
date Fri, 19 Aug 2005 22:48:43 -0800
parents 3f37720e7dc7
children 022bcc738389
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: