mercurial/pure/parsers.py
changeset 48159 252d2f3f0d17
parent 48158 da304f78a0e1
child 48160 898de425bcd6
--- a/mercurial/pure/parsers.py	Fri Oct 01 09:21:52 2021 +0200
+++ b/mercurial/pure/parsers.py	Fri Oct 01 09:23:28 2021 +0200
@@ -109,14 +109,6 @@
             self._mtime = parentfiledata[2]
 
     @classmethod
-    def new_from_p2(cls):
-        """constructor to help legacy API to build a new "from_p2" item
-
-        Should eventually be removed
-        """
-        return cls(wc_tracked=True, p2_info=True)
-
-    @classmethod
     def new_possibly_dirty(cls):
         """constructor to help legacy API to build a new "possibly_dirty" item