diff mercurial/commands.py @ 895:77b52b864249

Merge walk changes with Matt's tip.
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 13 Aug 2005 15:26:32 -0800
parents 391de0bcc722 62ec665759f2
children 01215ad04283
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -463,6 +463,8 @@ def clone(ui, source, dest=None, **opts)
         ui.warn("abort: destination '%s' already exists\n" % dest)
         return 1
 
+    dest = os.path.realpath(dest)
+
     class Dircleanup:
         def __init__(self, dir_):
             self.rmtree = shutil.rmtree