~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

Fix a pack specific test which didn't lock its format down.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1033
1033
 
1034
1034
    def make_packs_and_alt_repo(self, write_lock=False):
1035
1035
        """Create a pack repo with 3 packs, and access it via a second repo."""
1036
 
        tree = self.make_branch_and_tree('.')
 
1036
        tree = self.make_branch_and_tree('.', format=self.get_format())
1037
1037
        tree.lock_write()
1038
1038
        self.addCleanup(tree.unlock)
1039
1039
        rev1 = tree.commit('one')