~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: Aaron Bentley
  • Date: 2007-02-06 14:52:16 UTC
  • mfrom: (2266 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2268.
  • Revision ID: abentley@panoramicfeedback.com-20070206145216-fcpi8o3ufvuzwbp9
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

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