/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 18:38:57 UTC
  • mfrom: (1934 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: john@arbash-meinel.com-20060816183857-7307edffa7098bd2
[merge] bzr.dev 1934

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
        return False
214
214
 
215
215
    def kind(self, file_id):
216
 
        assert self._inventory[file_id].kind == "root_directory"
217
 
        return "root_directory"
 
216
        assert self._inventory[file_id].kind == "directory"
 
217
        return "directory"
218
218
 
219
219
    def list_files(self):
220
220
        return iter([])
223
223
        return file_id in self._inventory
224
224
 
225
225
    def get_file_sha1(self, file_id, path=None):
226
 
        assert self._inventory[file_id].kind == "root_directory"
227
226
        return None
228
227
 
229
228