changeset 36767:a148c67d8b09

archival: fileit should not use atomictemp, causes performance regression Differential Revision: https://phab.mercurial-scm.org/D2704
author Vincent Parrett <vincent@finalbuilder.com>
date Wed, 07 Mar 2018 09:07:34 +1100
parents d382344c69aa
children 658ed9c7442b
files mercurial/archival.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/archival.py	Sat Mar 03 18:55:43 2018 -0500
+++ b/mercurial/archival.py	Wed Mar 07 09:07:34 2018 +1100
@@ -272,7 +272,7 @@
         if islink:
             self.opener.symlink(data, name)
             return
-        f = self.opener(name, "w", atomictemp=True)
+        f = self.opener(name, "w", atomictemp=False)
         f.write(data)
         f.close()
         destfile = os.path.join(self.basedir, name)