##// END OF EJS Templates
dirstate-item: use `tracked` instead of `state` in context.matches...
marmoute -
r48907:20d0149b default
parent child Browse files
Show More
@@ -2017,7 +2017,7 b' class workingctx(committablectx):'
2017 def matches(self, match):
2017 def matches(self, match):
2018 match = self._repo.narrowmatch(match)
2018 match = self._repo.narrowmatch(match)
2019 ds = self._repo.dirstate
2019 ds = self._repo.dirstate
2020 return sorted(f for f in ds.matches(match) if ds[f] != b'r')
2020 return sorted(f for f in ds.matches(match) if ds.get_entry(f).tracked)
2021
2021
2022 def markcommitted(self, node):
2022 def markcommitted(self, node):
2023 with self._repo.dirstate.parentchange():
2023 with self._repo.dirstate.parentchange():
General Comments 0
You need to be logged in to leave comments. Login now