~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-01-18 17:47:06 UTC
  • mto: (6437.3.9 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120118174706-33pxrecbgbfd8ryx
UseĀ ControlDir.set_branch_reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1256
1256
        # Do a light checkout of the heavy one
1257
1257
        transport.mkdir('tree/lightcheckout')
1258
1258
        lco_dir = bzrdir.BzrDirMetaFormat1().initialize('tree/lightcheckout')
1259
 
        branch.BranchReferenceFormat().initialize(lco_dir,
1260
 
            target_branch=co_branch)
 
1259
        lco_dir.set_branch_reference(co_branch)
1261
1260
        lco_dir.create_workingtree()
1262
1261
        lco_tree = lco_dir.open_workingtree()
1263
1262