dirstate-v2: do not put the dirstate data file in a transaction,
since the transaction reverts the store, while the dirstate is stored separately
--- a/mercurial/dirstatemap.py Fri Nov 18 13:43:03 2022 -0500
+++ b/mercurial/dirstatemap.py Thu Nov 17 14:37:43 2022 +0000
@@ -612,8 +612,6 @@
if append:
docket = self.docket
data_filename = docket.data_filename()
- if tr:
- tr.add(data_filename, docket.data_size)
with self._opener(data_filename, b'r+b') as fp:
fp.seek(docket.data_size)
assert fp.tell() == docket.data_size