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
--- 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