~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-09 21:00:33 UTC
  • mto: (5777.5.1 inventoryworkingtree)
  • mto: This revision was merged to the branch mainline in revision 5782.
  • Revision ID: jelmer@samba.org-20110409210033-wg01c6m0qd2c3o4l
Split inventory-specific code out of MutableTree into MutableInventoryTree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    errors,
27
27
    mutabletree,
28
28
    revision as _mod_revision,
29
 
    revisiontree,
30
 
    tree,
31
29
    )
32
30
from bzrlib.decorators import needs_read_lock
33
31
from bzrlib.osutils import sha_file
35
33
from bzrlib.transport.memory import MemoryTransport
36
34
 
37
35
 
38
 
class MemoryTree(mutabletree.MutableTree,tree.InventoryTree):
 
36
class MemoryTree(mutabletree.MutableInventoryTree):
39
37
    """A MemoryTree is a specialisation of MutableTree.
40
38
 
41
39
    It maintains nearly no state outside of read_lock and write_lock