mercurial/hg.py
branchstable
changeset 15381 c519cd8f0169
parent 15355 dbdb777502dc
child 15552 62c9183a0bbb
--- a/mercurial/hg.py	Fri Oct 28 15:00:21 2011 +0200
+++ b/mercurial/hg.py	Sat Oct 29 11:02:23 2011 -0500
@@ -130,7 +130,7 @@
 
     sharedpath = srcrepo.sharedpath # if our source is already sharing
 
-    root = util.realpath(dest)
+    root = os.path.realpath(dest)
     roothg = os.path.join(root, '.hg')
 
     if os.path.exists(roothg):
@@ -301,7 +301,7 @@
 
         if copy:
             srcrepo.hook('preoutgoing', throw=True, source='clone')
-            hgdir = util.realpath(os.path.join(dest, ".hg"))
+            hgdir = os.path.realpath(os.path.join(dest, ".hg"))
             if not os.path.exists(dest):
                 os.mkdir(dest)
             else: