Mercurial > public > mercurial-scm > hg
diff mercurial/pure/parsers.py @ 48067:d3eb5f50052c
dirstate: drop the from_p2_removed method
It it no longer in use.
Differential Revision: https://phab.mercurial-scm.org/D11515
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 28 Sep 2021 20:00:19 +0200 |
parents | 7a2de2bd9fcd |
children | 80783e553bd5 |
line wrap: on
line diff
--- a/mercurial/pure/parsers.py Tue Sep 28 19:29:44 2021 +0200 +++ b/mercurial/pure/parsers.py Tue Sep 28 20:00:19 2021 +0200 @@ -339,15 +339,6 @@ return self._clean_p2 @property - def from_p2_removed(self): - """True if the file has been removed, but was "from_p2" initially - - This property seems like an abstraction leakage and should probably be - dealt in this class (or maybe the dirstatemap) directly. - """ - return self.removed and self._clean_p2 - - @property def removed(self): """True if the file has been removed""" return not self._wc_tracked and (self._p1_tracked or self._p2_tracked)