~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/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:
18
18
 
19
19
from bzrlib import (
20
20
    branch,
21
 
    bzrdir,
 
21
    controldir,
22
22
    errors,
23
23
    memorytree,
24
24
    revision,
238
238
            # remotebranches can't be bound.  Let's instead make a new local
239
239
            # branch of the default type, which does allow binding.
240
240
            # See https://bugs.launchpad.net/bzr/+bug/112020
241
 
            local = bzrdir.BzrDir.create_branch_convenience('local2')
 
241
            local = controldir.ControlDir.create_branch_convenience('local2')
242
242
            local.bind(target)
243
243
        source = self.make_branch('source')
244
244
        branch.Branch.hooks.install_named_hook(