Rev 4618: Fix a pack specific test which didn't lock its format down. in http://bazaar.launchpad.net/~lifeless/bzr/test_repository

Robert Collins robertc at robertcollins.net
Mon Aug 17 07:39:49 BST 2009


At http://bazaar.launchpad.net/~lifeless/bzr/test_repository

------------------------------------------------------------
revno: 4618
revision-id: robertc at robertcollins.net-20090817063946-77kdvgikav0l3of3
parent: pqm at pqm.ubuntu.com-20090817003227-g813yyjlq47j9qyb
committer: Robert Collins <robertc at robertcollins.net>
branch nick: test_repository
timestamp: Mon 2009-08-17 16:39:46 +1000
message:
  Fix a pack specific test which didn't lock its format down.
=== modified file 'bzrlib/tests/test_repository.py'
--- a/bzrlib/tests/test_repository.py	2009-08-14 04:11:42 +0000
+++ b/bzrlib/tests/test_repository.py	2009-08-17 06:39:46 +0000
@@ -1033,7 +1033,7 @@
 
     def make_packs_and_alt_repo(self, write_lock=False):
         """Create a pack repo with 3 packs, and access it via a second repo."""
-        tree = self.make_branch_and_tree('.')
+        tree = self.make_branch_and_tree('.', format=self.get_format())
         tree.lock_write()
         self.addCleanup(tree.unlock)
         rev1 = tree.commit('one')




More information about the bazaar-commits mailing list