~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

(John Arbash Meinel) bug #93854, 'bzr checkout' should create branches in the same format as the source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
690
690
            format.repository_format = weaverepo.RepositoryFormat7()
691
691
        else:
692
692
            format = self.repository.bzrdir.checkout_metadir()
693
 
            format.branch_format = self._format
 
693
            format.set_branch_format(self._format)
694
694
        return format
695
695
 
696
696
    def create_checkout(self, to_location, revision_id=None,