~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
598
598
    def make_branch_and_tree(self, relpath):
599
599
        source = self.make_branch(pathjoin('..', relpath))
600
600
        checkout = bzrdir.BzrDirMetaFormat1().initialize(relpath)
601
 
        bzrlib.branch.BranchReferenceFormat().initialize(checkout,
602
 
            target_branch=source)
 
601
        checkout.set_branch_reference(source)
603
602
        return checkout.create_workingtree()
604
603
 
605
604