Mercurial > public > mercurial-scm > hg
diff mercurial/pure/parsers.py @ 48156:d342815ff827
dirstate-item: replace call to new_added
The constructor is on its way out, so we inline the last relevant call before
dropping it.
Differential Revision: https://phab.mercurial-scm.org/D11600
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Oct 2021 09:15:03 +0200 |
parents | b2af515b4faf |
children | b45c4dc65adc |
line wrap: on
line diff
--- a/mercurial/pure/parsers.py Fri Oct 01 09:14:10 2021 +0200 +++ b/mercurial/pure/parsers.py Fri Oct 01 09:15:03 2021 +0200 @@ -156,7 +156,7 @@ if state == b'm': return cls(wc_tracked=True, p1_tracked=True, p2_info=True) elif state == b'a': - return cls.new_added() + return cls(wc_tracked=True) elif state == b'r': if size == NONNORMAL: p1_tracked = True