diff mercurial/pure/parsers.py @ 48161:20e41b367953

dirstate-item: drop the legacy new_possibly_dirty constructor Nobody is calling it anymore. Its purposes has been filled. Differential Revision: https://phab.mercurial-scm.org/D11605
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Oct 2021 09:25:13 +0200
parents 898de425bcd6
children 79ebbe19d9e3
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Fri Oct 01 09:24:48 2021 +0200
+++ b/mercurial/pure/parsers.py	Fri Oct 01 09:25:13 2021 +0200
@@ -109,14 +109,6 @@
             self._mtime = parentfiledata[2]
 
     @classmethod
-    def new_possibly_dirty(cls):
-        """constructor to help legacy API to build a new "possibly_dirty" item
-
-        Should eventually be removed
-        """
-        return cls(wc_tracked=True, p1_tracked=True)
-
-    @classmethod
     def new_normal(cls, mode, size, mtime):
         """constructor to help legacy API to build a new "normal" item