~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Martin Pool
  • Date: 2005-07-07 02:07:03 UTC
  • Revision ID: mbp@sourcefrog.net-20050707020702-0e24e478b738d4db
- Put files inside an exported tarball into a top-level directory rather than 
  dumping them into the current directory.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
 
144
144
 
145
145
class EmptyTree(Tree):
146
 
    def __init__(self, root_id):
 
146
    def __init__(self):
147
147
        from bzrlib.inventory import Inventory
148
 
        self._inventory = Inventory(root_id)
 
148
        self._inventory = Inventory()
149
149
 
150
150
    def has_filename(self, filename):
151
151
        return False