-
- for filename in os.listdir(self.path):
- if (os.path.isfile(os.path.join(self.path, filename))
- and not filename.startswith('.')):
- yield urlunquote(filename)
+ status = self.repo.status(self.repo[None], None, None, True, True, True)
+ clean_files = status[6]
+ for filename in clean_files:
+ yield urlunquote(filename)