mercurial/commands.py
changeset 891 a9b843b114f9
parent 886 509de8ab6f31
child 894 62ec665759f2
--- 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