equal
deleted
inserted
replaced
2015 ) |
2015 ) |
2016 |
2016 |
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(): |
2024 for f in self.modified() + self.added(): |
2024 for f in self.modified() + self.added(): |
2025 self._repo.dirstate.update_file( |
2025 self._repo.dirstate.update_file( |