~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interbranch/test_pull.py

  • Committer: Jelmer Vernooij
  • Date: 2012-04-16 11:08:11 UTC
  • mfrom: (6521 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6522.
  • Revision ID: jelmer@samba.org-20120416110811-0y996ihqy9o2bb1t
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for InterBranch.pull behaviour."""
18
18
 
19
19
from bzrlib.branch import Branch
20
 
from bzrlib.bzrdir import BzrDir
 
20
from bzrlib.controldir import ControlDir
21
21
from bzrlib import errors
22
22
from bzrlib.memorytree import MemoryTree
23
23
from bzrlib.revision import NULL_REVISION
175
175
            # remotebranches can't be bound.  Let's instead make a new local
176
176
            # branch of the default type, which does allow binding.
177
177
            # See https://bugs.launchpad.net/bzr/+bug/112020
178
 
            local = BzrDir.create_branch_convenience('local2')
 
178
            local = ControlDir.create_branch_convenience('local2')
179
179
            local.bind(target)
180
180
        source = self.make_from_branch('source')
181
181
        Branch.hooks.install_named_hook('post_pull',