Show More
@@ -124,6 +124,9 b' class _dirstatemapcommon:' | |||||
124 | ) |
|
124 | ) | |
125 | return self._docket |
|
125 | return self._docket | |
126 |
|
126 | |||
|
127 | def _read_v2_data(self): | |||
|
128 | return self._opener.read(self.docket.data_filename()) | |||
|
129 | ||||
127 | def write_v2_no_append(self, tr, st, meta, packed): |
|
130 | def write_v2_no_append(self, tr, st, meta, packed): | |
128 | old_docket = self.docket |
|
131 | old_docket = self.docket | |
129 | new_docket = docketmod.DirstateDocket.with_new_uuid( |
|
132 | new_docket = docketmod.DirstateDocket.with_new_uuid( | |
@@ -283,7 +286,7 b' class dirstatemap(_dirstatemapcommon):' | |||||
283 | if not self.docket.uuid: |
|
286 | if not self.docket.uuid: | |
284 | return |
|
287 | return | |
285 | testing.wait_on_cfg(self._ui, b'dirstate.post-docket-read-file') |
|
288 | testing.wait_on_cfg(self._ui, b'dirstate.post-docket-read-file') | |
286 |
st = self._ |
|
289 | st = self._read_v2_data() | |
287 | else: |
|
290 | else: | |
288 | st = self._readdirstatefile() |
|
291 | st = self._readdirstatefile() | |
289 |
|
292 |
General Comments 0
You need to be logged in to leave comments.
Login now