Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlog.py @ 51328:0106df85efd5
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 11 Jan 2024 16:41:54 +0100 |
parents | 5b3b6db49bbb |
children | a0d88b021a98 |
comparison
equal
deleted
inserted
replaced
51327:5b3b6db49bbb | 51328:0106df85efd5 |
---|---|
770 """ | 770 """ |
771 return self.opener( | 771 return self.opener( |
772 self.index_file, | 772 self.index_file, |
773 mode=b"w", | 773 mode=b"w", |
774 checkambig=self.data_config.check_ambig, | 774 checkambig=self.data_config.check_ambig, |
775 atomictemp=True, | |
776 ) | 775 ) |
777 | 776 |
778 def split_inline(self, tr, header, new_index_file_path=None): | 777 def split_inline(self, tr, header, new_index_file_path=None): |
779 """split the data of an inline revlog into an index and a data file""" | 778 """split the data of an inline revlog into an index and a data file""" |
780 assert self._delay_buffer is None | 779 assert self._delay_buffer is None |