Mercurial > hg
diff mercurial/pure/parsers.py @ 48157:b45c4dc65adc
dirstate-item: drop the legacy new_added constructor
Nobody is calling it anymore. Its purposes has been filled.
Differential Revision: https://phab.mercurial-scm.org/D11601
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Oct 2021 09:16:53 +0200 |
parents | d342815ff827 |
children | da304f78a0e1 |
line wrap: on
line diff
--- a/mercurial/pure/parsers.py Fri Oct 01 09:15:03 2021 +0200 +++ b/mercurial/pure/parsers.py Fri Oct 01 09:16:53 2021 +0200 @@ -109,14 +109,6 @@ self._mtime = parentfiledata[2] @classmethod - def new_added(cls): - """constructor to help legacy API to build a new "added" item - - Should eventually be removed - """ - return cls(wc_tracked=True) - - @classmethod def new_from_p2(cls): """constructor to help legacy API to build a new "from_p2" item