mercurial/commands.py
changeset 1207 a7b8812973d9
parent 1206 6512d352d6c1
child 1208 4644df4944ff
--- a/mercurial/commands.py	Wed Sep 07 19:16:36 2005 -0700
+++ b/mercurial/commands.py	Wed Sep 07 19:21:38 2005 -0700
@@ -607,7 +607,7 @@
         # we use a lock here because because we're not nicely ordered
         l = lock.lock(os.path.join(source, ".hg", "lock"))
 
-        util.copytree(os.path.join(source, ".hg"), os.path.join(dest, ".hg"),
+        util.copyfiles(os.path.join(source, ".hg"), os.path.join(dest, ".hg"),
                       copyfile)
 
         for fn in "dirstate", "lock", "hgrc", "localtags":