/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: 2008-02-13 03:30:01 UTC
  • mfrom: (3221 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3224.
  • Revision ID: robertc@robertcollins.net-20080213033001-rw70ul0zb02ph856
Merge to fix conflicts.

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):