/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/memorytree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-15 16:32:29 UTC
  • mfrom: (1731.1.67 unique-root)
  • Revision ID: pqm@pqm.ubuntu.com-20061015163229-648b1f2ebe692136
New trees have unique root ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        self._file_transport = MemoryTransport()
168
168
        # TODO copy the revision trees content, or do it lazy, or something.
169
169
        inventory_entries = self._inventory.iter_entries()
170
 
        inventory_entries.next()
171
170
        for path, entry in inventory_entries:
 
171
            if path == '':
 
172
                continue
172
173
            if entry.kind == 'directory':
173
174
                self._file_transport.mkdir(path)
174
175
            elif entry.kind == 'file':