~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/tree_creator/kernel_like.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-11 13:47:06 UTC
  • mfrom: (5051.3.16 use-branch-open)
  • Revision ID: pqm@pqm.ubuntu.com-20100311134706-kaerqhx3lf7xn6rh
(Jelmer) Pass colocated branch names further down the call stack.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        if self._url is not None:
49
49
            b = bzrdir.BzrDir.create_branch_convenience(self._url)
50
50
            d = bzrdir.BzrDir.create(root)
51
 
            bzrlib.branch.BranchReferenceFormat().initialize(d, b)
 
51
            bzrlib.branch.BranchReferenceFormat().initialize(d,
 
52
                target_branch=b)
52
53
            tree = d.create_workingtree()
53
54
        else:
54
55
            tree = bzrdir.BzrDir.create_standalone_workingtree(root)