/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/tests/test_memorytree.py

  • Committer: Robert Collins
  • Date: 2007-11-21 23:42:50 UTC
  • mto: This revision was merged to the branch mainline in revision 3014.
  • Revision ID: robertc@robertcollins.net-20071121234250-hnltm60sryng2w55
LockingĀ inĀ test_memorytree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        tree.unlock()
144
144
        # and we should have a revision that is accessible outside the tree lock
145
145
        revtree = tree.branch.repository.revision_tree(revision_id)
 
146
        revtree.lock_read()
 
147
        self.addCleanup(revtree.unlock)
146
148
        self.assertEqual('barshoom', revtree.get_file('foo-id').read())
147
149
 
148
150
    def test_unversion(self):