~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-11 18:31:46 UTC
  • mfrom: (5777.3.6 inventorytree)
  • Revision ID: pqm@pqm.ubuntu.com-20110411183146-s7r7m89gnp0dl3sr
(jelmer) Split inventory-specific functionality out of Tree into
 InventoryTree. (Jelmer Vernooij)

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,
29
31
    )
30
32
from bzrlib.decorators import needs_read_lock
31
33
from bzrlib.osutils import sha_file
33
35
from bzrlib.transport.memory import MemoryTransport
34
36
 
35
37
 
36
 
class MemoryTree(mutabletree.MutableTree):
 
38
class MemoryTree(mutabletree.MutableTree, tree.InventoryTree):
37
39
    """A MemoryTree is a specialisation of MutableTree.
38
40
 
39
41
    It maintains nearly no state outside of read_lock and write_lock