# HG changeset patch # User Pierre-Yves David # Date 1625277323 -7200 # Node ID 67d11b0f659fe1088c01a1ea1719ee49bd1fb424 # Parent d4c795576aeb3040563a1acabec20320a04a6f64 dirstate-entry: goes through the `dirstatetuple` constructor in all cases We need to make sure we build an object. Differential Revision: https://phab.mercurial-scm.org/D10950 diff -r d4c795576aeb -r 67d11b0f659f mercurial/pure/parsers.py --- a/mercurial/pure/parsers.py Sat Jul 03 03:48:35 2021 +0200 +++ b/mercurial/pure/parsers.py Sat Jul 03 03:55:23 2021 +0200 @@ -425,7 +425,7 @@ if b'\0' in f: f, c = f.split(b'\0') copymap[f] = c - dmap[f] = e[:4] + dmap[f] = dirstatetuple(*e[:4]) return parents