~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

Merge MemoryTree branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        """Helper function for add - sets the entries of kinds."""
120
120
        raise NotImplementedError(self._gather_kinds)
121
121
 
 
122
    @needs_read_lock
 
123
    def last_revision(self):
 
124
        """Return the last revision id of this working tree."""
 
125
        raise NotImplementedError(self.last_revision)
 
126
 
122
127
    def lock_write(self):
123
128
        """Lock the tree and its branch. This allows mutating calls to be made.
124
129