~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: Aaron Bentley
  • Date: 2006-11-17 04:06:03 UTC
  • mfrom: (2139 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2162.
  • Revision ID: aaron.bentley@utoronto.ca-20061117040603-pgebxndswvwk26tt
Merge from bzr.dev

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':