--- 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))