~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2012-03-06 19:49:19 UTC
  • mfrom: (6472.2.6 use-bzr-controldir)
  • Revision ID: pqm@pqm.ubuntu.com-20120306194919-kt7mj6xmhifsgees
(jelmer) Use bzrlib.controldir for generic access to control directories,
 rather than bzrlib.bzrdir. (Jelmer Vernooij)

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',