Skip to content
Snippets Groups Projects
Commit 5437a025 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

dirstate-item: use `tracked` instead of the `state` in context

Differential Revision: https://phab.mercurial-scm.org/D11530
parent 0dc9ced0
No related branches found
No related tags found
No related merge requests found
......@@ -1555,7 +1555,7 @@
yield f
def __contains__(self, key):
return self._repo.dirstate[key] not in b"?r"
return self._repo.dirstate.get_entry(key).tracked
def hex(self):
return self._repo.nodeconstants.wdirhex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment