/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
2420
2420
        tree_transport = self.bzrdir.root_transport.clone(sub_path)
2421
2421
        if tree_transport.base != branch_transport.base:
2422
2422
            tree_bzrdir = format.initialize_on_transport(tree_transport)
2423
 
            branch.BranchReferenceFormat().initialize(tree_bzrdir,
2424
 
                target_branch=new_branch)
 
2423
            tree_bzrdir.set_branch_reference(new_branch)
2425
2424
        else:
2426
2425
            tree_bzrdir = branch_bzrdir
2427
2426
        wt = tree_bzrdir.create_workingtree(_mod_revision.NULL_REVISION)