/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 breezy/tests/blackbox/test_split.py

  • Committer: Jelmer Vernooij
  • Date: 2017-08-27 13:57:26 UTC
  • mto: This revision was merged to the branch mainline in revision 6773.
  • Revision ID: jelmer@jelmer.uk-20170827135726-o6k0a4j205zdh8k0
Fix some tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
 
import os
19
 
 
20
 
from bzrlib import bzrdir, tests, workingtree
21
 
from bzrlib.repofmt.knitrepo import RepositoryFormatKnit4
22
 
from bzrlib.repofmt.pack_repo import RepositoryFormatKnitPack4
 
18
from breezy import tests, workingtree
 
19
from breezy.bzr.knitrepo import RepositoryFormatKnit4
 
20
from breezy.bzr.knitpack_repo import RepositoryFormatKnitPack4
23
21
 
24
22
 
25
23
 
35
33
 
36
34
    def test_split_repo_failure(self):
37
35
        repo = self.make_repository('branch', shared=True, format='knit')
38
 
        a_branch = repo.bzrdir.create_branch()
 
36
        a_branch = repo.controldir.create_branch()
39
37
        self.build_tree(['a/', 'a/b/', 'a/b/c/', 'a/b/c/d'])
40
38
        wt = a_branch.create_checkout('a', lightweight=True)
41
39
        wt.add(['b', 'b/c', 'b/c/d'], ['b-id', 'c-id', 'd-id'])