mercurial/util.py
changeset 13099 a08b49d2f116
parent 13098 f7d6750dcd01
child 13112 039a964dbbb3
--- a/mercurial/util.py	Tue Dec 07 16:03:42 2010 +0100
+++ b/mercurial/util.py	Tue Dec 07 20:03:05 2010 +1100
@@ -452,7 +452,7 @@
     else:
         try:
             shutil.copyfile(src, dest)
-            shutil.copystat(src, dest)
+            shutil.copymode(src, dest)
         except shutil.Error, inst:
             raise Abort(str(inst))