mercurial/dirstatemap.py
changeset 48108 d4e715d2be0b
parent 48068 bf8837e3d7ce
child 48109 2c2788ce0257
--- a/mercurial/dirstatemap.py	Wed Sep 29 02:34:32 2021 +0200
+++ b/mercurial/dirstatemap.py	Thu Sep 30 18:00:39 2021 +0200
@@ -226,16 +226,7 @@
         elif (p1_tracked or p2_tracked) and not wc_tracked:
             pass
         elif clean_p2 and wc_tracked:
-            if p1_tracked or self.get(filename) is not None:
-                # XXX the `self.get` call is catching some case in
-                # `test-merge-remove.t` where the file is tracked in p1, the
-                # p1_tracked argument is False.
-                #
-                # In addition, this seems to be a case where the file is marked
-                # as merged without actually being the result of a merge
-                # action. So thing are not ideal here.
-                merged = True
-                clean_p2 = False
+            pass
         elif not p1_tracked and p2_tracked and wc_tracked:
             clean_p2 = True
         elif possibly_dirty: