~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

Revert --debris/--detritus changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
    def has_filename(self, filename):
182
182
        return bool(self.inventory.path2id(filename))
183
183
 
184
 
    def list_files(self, classifiers=()):
 
184
    def list_files(self):
185
185
        # The only files returned by this are those from the version
186
186
        for path, entry in self.inventory.iter_entries():
187
187
            yield path, 'V', entry.kind, entry.file_id, entry
214
214
        assert self._inventory[file_id].kind == "root_directory"
215
215
        return "root_directory"
216
216
 
217
 
    def list_files(self, classifiers=()):
 
217
    def list_files(self):
218
218
        return iter([])
219
219
    
220
220
    def __contains__(self, file_id):