/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 breezy/tree.py

Use context manager in decorators.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
from . import (
44
44
    errors,
 
45
    lock,
45
46
    osutils,
46
47
    )
47
48
from .decorators import needs_read_lock
563
564
 
564
565
        :return: A breezy.lock.LogicalLockResult.
565
566
        """
566
 
        pass
 
567
        return lock.LogicalLockResult(self.unlock)
567
568
 
568
569
    def revision_tree(self, revision_id):
569
570
        """Obtain a revision tree for the revision revision_id.