~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

Split out repository into .bzr/repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        self.build_tree(["foo/", "bar/"])
87
87
        def check_format(format, url):
88
88
            dir = format._matchingbzrdir.initialize(url)
 
89
            dir.create_repository()
89
90
            format.initialize(dir)
90
 
            t = get_transport(url)
91
91
            found_format = branch.BranchFormat.find_format(dir)
92
92
            self.failUnless(isinstance(found_format, format.__class__))
93
93
        check_format(branch.BzrBranchFormat5(), "bar")