Comment 2 for bug 93854

Revision history for this message
John A Meinel (jameinel) wrote :

This seems to fix it:

=== modified file 'bzrlib/branch.py'
--- bzrlib/branch.py 2007-03-13 01:00:34 +0000
+++ bzrlib/branch.py 2007-03-19 21:15:09 +0000
@@ -690,7 +690,7 @@
             format.repository_format = weaverepo.RepositoryFormat7()
         else:
             format = self.repository.bzrdir.checkout_metadir()
- format.branch_format = self._format
+ format._branch_format = self._format
         return format

     def create_checkout(self, to_location, revision_id=None,

But we really need a test that Branch.create_checkout() generates a checkout in the right format.

This should probably be a branch_implementations test.