/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: v.ladeuil+lp at free
  • Date: 2006-10-17 14:01:12 UTC
  • mfrom: (2084 +trunk)
  • mto: (2145.1.1 keepalive)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: v.ladeuil+lp@free.fr-20061017140112-8ae6aac456429ccf
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
class EmptyTree(Tree):
219
219
 
220
220
    def __init__(self):
221
 
        self._inventory = Inventory()
 
221
        self._inventory = Inventory(root_id=None)
222
222
        warn('EmptyTree is deprecated as of bzr 0.9 please use '
223
223
            'repository.revision_tree instead.',
224
224
            DeprecationWarning, stacklevel=2)
236
236
        assert self._inventory[file_id].kind == "directory"
237
237
        return "directory"
238
238
 
239
 
    def list_files(self):
 
239
    def list_files(self, include_root=False):
240
240
        return iter([])
241
241
    
242
242
    def __contains__(self, file_id):