~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-31 21:29:02 UTC
  • mfrom: (2104 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2110.
  • Revision ID: john@arbash-meinel.com-20061031212902-4b33920b90e9ce92
[merge] bzr.dev 2104

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