Mercurial > hg
changeset 45241:e0bfde04f957
dirstate: revert change to Rust binding
The Rust binding uses its own class and is not derived from the regular
implementation. As such, it didn't get _nodelen.
Differential Revision: https://phab.mercurial-scm.org/D8849
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 30 Jul 2020 01:10:10 +0200 |
parents | 13814622b3b1 |
children | 5780a04a1b46 |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dirstate.py Thu Jul 23 23:52:31 2020 +0200 +++ b/mercurial/dirstate.py Thu Jul 30 01:10:10 2020 +0200 @@ -1835,7 +1835,7 @@ if not self._parents: try: fp = self._opendirstatefile() - st = fp.read(2 * self._nodelen) + st = fp.read(40) fp.close() except IOError as err: if err.errno != errno.ENOENT: