revlog: stop using `atomictmp` for the split revlog
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 11 Jan 2024 16:41:54 +0100
changeset 51328 0106df85efd5
parent 51327 5b3b6db49bbb
child 51329 da7ecb4deaec
revlog: stop using `atomictmp` for the split revlog Since we already manually deal with writing on the side and delaying visibily, we no longer need this.
mercurial/revlog.py
--- a/mercurial/revlog.py	Thu Jan 11 16:39:31 2024 +0100
+++ b/mercurial/revlog.py	Thu Jan 11 16:41:54 2024 +0100
@@ -772,7 +772,6 @@
             self.index_file,
             mode=b"w",
             checkambig=self.data_config.check_ambig,
-            atomictemp=True,
         )
 
     def split_inline(self, tr, header, new_index_file_path=None):