~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

Unshelved all changes except those related to removing RootEntry

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 == "root_directory"
217
 
        return "root_directory"
218
 
 
219
 
    def list_files(self):
 
215
    def list_files(self, include_root=True):
220
216
        return iter([])
221
217
    
222
218
    def __contains__(self, file_id):
223
219
        return file_id in self._inventory
224
220
 
225
221
    def get_file_sha1(self, file_id, path=None):
226
 
        assert self._inventory[file_id].kind == "root_directory"
227
222
        return None
228
223
 
229
224