~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2007-03-22 20:07:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2374.
  • Revision ID: john@arbash-meinel.com-20070322200752-4b29yobz92a38tqp
Use BzrDir.set_branch_format() rather than setting it directly.

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
 
            # TODO: jam 20070322 Why is 'repository_format' public, but
694
 
            #       _workingtree_format and _branch_format private?
695
 
            format._branch_format = self._format
 
693
            format.set_branch_format(self._format)
696
694
        return format
697
695
 
698
696
    def create_checkout(self, to_location, revision_id=None,