~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-01-16 14:45:48 UTC
  • mto: (6437.35.1 2.5.0-dev)
  • mto: This revision was merged to the branch mainline in revision 6439.
  • Revision ID: v.ladeuil+lp@free.fr-20120116144548-48mob8d7dee824uc
Tags: bzr-2.5b5
ReleaseĀ 2.5b5

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
 
        checkout.set_branch_reference(source)
 
601
        bzrlib.branch.BranchReferenceFormat().initialize(checkout,
 
602
            target_branch=source)
602
603
        return checkout.create_workingtree()
603
604
 
604
605