~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_break_lock.py

  • Committer: Patch Queue Manager
  • Date: 2012-01-23 15:31:35 UTC
  • mfrom: (6443.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20120123153135-8v3r3z1lx055vmpl
(jelmer) Merge the 2.5 series branch. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        local_branch = bzrdir.BzrDir.create_branch_convenience('repo/branch')
62
62
        local_branch.bind(self.master_branch)
63
63
        checkoutdir = bzrdir.BzrDir.create('checkout')
64
 
        branch.BranchReferenceFormat().initialize(
65
 
            checkoutdir, target_branch=local_branch)
 
64
        checkoutdir.set_branch_reference(local_branch)
66
65
        self.wt = checkoutdir.create_workingtree()
67
66
 
68
67
    def test_break_lock_help(self):