~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Aaron Bentley
  • Date: 2006-08-06 21:21:32 UTC
  • mto: (1731.1.35 nested-trees)
  • mto: This revision was merged to the branch mainline in revision 1910.
  • Revision ID: aaron.bentley@utoronto.ca-20060806212132-56b40ec5caf87658
Restore RootEntry, but mark it deprecated, restore EmptyTree.kind

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
    def has_filename(self, filename):
213
213
        return False
214
214
 
 
215
    def kind(self, file_id):
 
216
        assert self._inventory[file_id].kind == "directory"
 
217
        return "directory"
 
218
 
215
219
    def list_files(self, include_root=True):
216
220
        return iter([])
217
221