~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-01-23 15:02:51 UTC
  • mfrom: (6437.3.19 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120123150251-skmauxb1q7h6w31t
Merge 2.5 branch.

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):