/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: Canonical.com Patch Queue Manager
  • Date: 2011-03-08 22:44:11 UTC
  • mfrom: (5705.2.6 branch4-no-metadir)
  • Revision ID: pqm@pqm.ubuntu.com-20110308224411-8ki4micmszepfnna
(jelmer) Avoid using BzrBranchFormat4 in meta directories. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
class TestCaseWithInterBranch(TestCaseWithTransport):
87
87
 
88
88
    def make_from_branch(self, relpath):
89
 
        repo = self.make_repository(relpath)
 
89
        repo = self.make_repository(relpath, format=self.branch_format_from._matchingbzrdir)
90
90
        return self.branch_format_from.initialize(repo.bzrdir)
91
91
 
92
92
    def make_from_branch_and_memory_tree(self, relpath):
109
109
            format=format)
110
110
 
111
111
    def make_to_branch(self, relpath):
112
 
        repo = self.make_repository(relpath)
 
112
        repo = self.make_repository(relpath, format=self.branch_format_to._matchingbzrdir)
113
113
        return self.branch_format_to.initialize(repo.bzrdir)
114
114
 
115
115
    def make_to_branch_and_memory_tree(self, relpath):