changeset 47675 | 48aec076b8fb |
parent 47674 | ff97e793ed36 |
child 47678 | 065e61628980 |
--- a/mercurial/dirstatemap.py Thu Jul 08 12:18:21 2021 +0200 +++ b/mercurial/dirstatemap.py Mon Jul 12 22:46:52 2021 +0200 @@ -637,7 +637,9 @@ data = self._opener.read(self.docket.data_filename()) else: data = b'' - self._rustmap = rustmod.DirstateMap.new_v2(data) + self._rustmap = rustmod.DirstateMap.new_v2( + data, self.docket.data_size + ) parents = self.docket.parents else: self._rustmap, parents = rustmod.DirstateMap.new_v1(