/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: John Arbash Meinel
  • Date: 2011-04-12 14:55:57 UTC
  • mto: This revision was merged to the branch mainline in revision 5784.
  • Revision ID: john@arbash-meinel.com-20110412145557-ltjdd171cbddfbrf
Fix bug #758695, correctly order the 'cfn' vs 'cfi' in callgrind output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from bzrlib.transport.memory import MemoryTransport
34
34
 
35
35
 
36
 
class MemoryTree(mutabletree.MutableTree):
 
36
class MemoryTree(mutabletree.MutableInventoryTree):
37
37
    """A MemoryTree is a specialisation of MutableTree.
38
38
 
39
39
    It maintains nearly no state outside of read_lock and write_lock
49
49
        self._locks = 0
50
50
        self._lock_mode = None
51
51
 
 
52
    def is_control_filename(self, filename):
 
53
        # Memory tree doesn't have any control filenames
 
54
        return False
 
55
 
52
56
    @needs_tree_write_lock
53
57
    def _add(self, files, ids, kinds):
54
58
        """See MutableTree._add."""