Mercurial > hg
diff mercurial/pure/parsers.py @ 47928:f1033c2d9b66
dirstate-item: implement `tracked` in a simpler way
We can simply use the underlying attribute.
Differential Revision: https://phab.mercurial-scm.org/D11365
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 27 Aug 2021 17:07:12 +0200 |
parents | b81f52ca8075 |
children | 03f57915e0ce |
line wrap: on
line diff
--- a/mercurial/pure/parsers.py Fri Aug 27 15:10:21 2021 +0200 +++ b/mercurial/pure/parsers.py Fri Aug 27 17:07:12 2021 +0200 @@ -263,7 +263,7 @@ @property def tracked(self): """True is the file is tracked in the working copy""" - return self.v1_state() in b"nma" + return self._wc_tracked @property def added(self):