~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

[merge] bzr.dev 2255, resolve conflicts, update copyrights

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