diff mercurial/pure/parsers.py @ 48264:948570aa7630

dirstate: make DirstateItem constructor accept fallback value This could arguably goes in the previous changeset, but I wanted to keep that previous changeset small to focus more on the user code and the documentation. Differential Revision: https://phab.mercurial-scm.org/D11687
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 18 Oct 2021 20:02:05 +0200
parents 602c8e8411f5
children b874e8d81a98
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Mon Oct 18 20:02:15 2021 +0200
+++ b/mercurial/pure/parsers.py	Mon Oct 18 20:02:05 2021 +0200
@@ -107,13 +107,15 @@
         has_meaningful_data=True,
         has_meaningful_mtime=True,
         parentfiledata=None,
+        fallback_exec=None,
+        fallback_symlink=None,
     ):
         self._wc_tracked = wc_tracked
         self._p1_tracked = p1_tracked
         self._p2_info = p2_info
 
-        self._fallback_exec = None
-        self._fallback_symlink = None
+        self._fallback_exec = fallback_exec
+        self._fallback_symlink = fallback_symlink
 
         self._mode = None
         self._size = None