diff mercurial/commands.py @ 1892:622ee75cb4c9

Directory names take precedence over symbolic names consistently. Previously this was only done for clone.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 12 Mar 2006 18:05:13 +0100
parents 468730910353
children 6569651a4f1e
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Mar 12 15:11:11 2006 +0100
+++ b/mercurial/commands.py	Sun Mar 12 18:05:13 2006 +0100
@@ -718,8 +718,7 @@
     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