/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/tests/per_interbranch/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-23 12:32:30 UTC
  • mto: This revision was merged to the branch mainline in revision 6168.
  • Revision ID: jelmer@samba.org-20110923123230-74xqocnk3slg0idt
Add WorkingTreeFormat.get_controldir_for_branch().

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
            format=self.branch_format_from._matchingbzrdir)
96
96
 
97
97
    def make_from_branch_builder(self, relpath):
98
 
        default_format = BzrDirFormat.get_default_format()
99
 
        format = BzrDirMetaFormat1()
100
 
        format.set_branch_format(self.branch_format_from)
101
 
        format.repository_format = default_format.repository_format
102
 
        format.workingtree_format = default_format.workingtree_format
103
98
        return branchbuilder.BranchBuilder(self.get_transport(relpath),
104
 
            format=format)
 
99
            format=self.branch_format_from._matchingbzrdir)
105
100
 
106
101
    def make_to_branch(self, relpath):
107
102
        repo = self.make_repository(relpath, format=self.branch_format_to._matchingbzrdir)