mercurial/dirstate.py
changeset 48435 f838f5bca038
parent 48434 6becd5773133
child 48438 322525db4c98
--- a/mercurial/dirstate.py	Wed Nov 17 20:26:33 2021 +0100
+++ b/mercurial/dirstate.py	Wed Nov 17 20:27:27 2021 +0100
@@ -573,13 +573,6 @@
 
         self._dirty = True
 
-        need_parent_file_data = (
-            not possibly_dirty and not p2_info and wc_tracked and p1_tracked
-        )
-
-        if need_parent_file_data and parentfiledata is None:
-            parentfiledata = self._get_filedata(filename)
-
         self._map.reset_state(
             filename,
             wc_tracked,