changeset 47508:67d11b0f659f

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Jul 2021 03:55:23 +0200
parents d4c795576aeb
children 80dc1d452993
files mercurial/pure/parsers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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