diff mercurial/pure/parsers.py @ 48162:d71feb05d5b6

dirstate-item: drop the `from_p2` property It has no user anymore. Differential Revision: https://phab.mercurial-scm.org/D11594
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Oct 2021 03:26:12 +0200
parents 6ac2b417d5d7
children 8f88307f8e07
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Fri Oct 01 03:24:57 2021 +0200
+++ b/mercurial/pure/parsers.py	Fri Oct 01 03:26:12 2021 +0200
@@ -322,16 +322,6 @@
         return self._wc_tracked and self._p1_tracked and self._p2_info
 
     @property
-    def from_p2(self):
-        """True if the file have been fetched from p2 during the current merge
-
-        This is only True is the file is currently tracked.
-
-        Should only be set if a merge is in progress in the dirstate
-        """
-        return self._wc_tracked and (not self._p1_tracked) and self._p2_info
-
-    @property
     def removed(self):
         """True if the file has been removed"""
         return not self._wc_tracked and (self._p1_tracked or self._p2_info)