# HG changeset patch # User Pierre-Yves David # Date 1630076832 -7200 # Node ID f1033c2d9b668c7e9db4cfb1fd9d5cb996e63e5f # Parent b81f52ca80753fe3e5efcc1aecf9bb4cc6a77144 dirstate-item: implement `tracked` in a simpler way We can simply use the underlying attribute. Differential Revision: https://phab.mercurial-scm.org/D11365 diff -r b81f52ca8075 -r f1033c2d9b66 mercurial/pure/parsers.py --- 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):