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.
This seems to fix it:
=== modified file 'bzrlib/branch.py'
format. repository_ format = weaverepo. RepositoryForma t7() .bzrdir. checkout_ metadir( ) branch_ format = self._format _branch_ format = self._format
--- bzrlib/branch.py 2007-03-13 01:00:34 +0000
+++ bzrlib/branch.py 2007-03-19 21:15:09 +0000
@@ -690,7 +690,7 @@
else:
format = self.repository
- format.
+ 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.