~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.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:
369
369
        else:
370
370
            local_branch = self.local_branch
371
371
        if self._create_reference:
372
 
            format = branch.BranchReferenceFormat().initialize(self.bzrdir,
373
 
                target_branch=reference_branch)
 
372
            self.bzrdir.set_branch_reference(reference_branch)
374
373
        if self._destroy_tree:
375
374
            self.bzrdir.destroy_workingtree()
376
375
        if self._create_tree: