/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: Ian Clatworthy
  • Author(s): Vincent Ladeuil
  • Date: 2009-04-03 05:17:24 UTC
  • mto: (4246.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4247.
  • Revision ID: ian.clatworthy@canonical.com-20090403051724-1rtkgua4zrhbrfrg
inv._get_mutable_inventory() - prepare for CHKInventory

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
"""
21
21
 
22
22
 
23
 
from copy import deepcopy
24
23
import os
25
24
 
26
25
from bzrlib import (
217
216
            self._parent_ids = []
218
217
        else:
219
218
            self._parent_ids = [self._branch_revision_id]
220
 
        self._inventory = deepcopy(self._basis_tree._inventory)
 
219
        self._inventory = self._basis_tree._inventory._get_mutable_inventory()
221
220
        self._file_transport = MemoryTransport()
222
221
        # TODO copy the revision trees content, or do it lazy, or something.
223
222
        inventory_entries = self._inventory.iter_entries()