~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-09 19:25:42 UTC
  • mto: (5777.5.1 inventoryworkingtree)
  • mto: This revision was merged to the branch mainline in revision 5781.
  • Revision ID: jelmer@samba.org-20110409192542-8bbedp36s7nj928e
Split InventoryTree out of Tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    return tree_write_locked
55
55
 
56
56
 
57
 
class MutableTree(tree.Tree):
 
57
class MutableTree(tree.InventoryTree):
58
58
    """A MutableTree is a specialisation of Tree which is able to be mutated.
59
59
 
60
60
    Generally speaking these mutations are only possible within a lock_write