/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-18 05:10:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070418051019-tek0rr8alo1z2sop
Small changes in response to Aaron's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
710
710
        """Return the most suitable metadir for a checkout of this branch.
711
711
        Weaves are used if this branch's repository uses weaves.
712
712
        """
713
 
        from bzrlib.remote import RemoteBzrDir
714
713
        if isinstance(self.bzrdir, bzrdir.BzrDirPreSplitOut):
715
714
            from bzrlib.repofmt import weaverepo
716
715
            format = bzrdir.BzrDirMetaFormat1()
717
716
            format.repository_format = weaverepo.RepositoryFormat7()
718
 
        elif isinstance(self.bzrdir, RemoteBzrDir):
719
 
            format = bzrdir.BzrDirMetaFormat1()
720
717
        else:
721
718
            format = self.repository.bzrdir.checkout_metadir()
722
719
            format.set_branch_format(self._format)