~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_reference/test_add_revision.py

Get a working chk_map using inventory implementation bootstrapped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        tree = self.make_branch_and_tree('sample')
31
31
        revid = tree.commit('one')
32
32
        inv = tree.branch.repository.get_inventory(revid)
 
33
        tree.lock_read()
 
34
        self.addCleanup(tree.unlock)
33
35
        rev = tree.branch.repository.get_revision(revid)
34
36
        base = self.make_repository('base')
35
37
        repo = self.make_referring('referring', 'base')