~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-01 23:10:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6338.
  • Revision ID: jelmer@samba.org-20111201231002-6u7hjlzddpjybfn3
Deprecate ``RevisionSpec.wants_revision_history`` and remove any uses of it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
constructing a class or using a factory method on Reconfigure.
21
21
"""
22
22
 
23
 
from __future__ import absolute_import
24
 
 
25
23
 
26
24
from bzrlib import (
27
25
    branch,
369
367
        else:
370
368
            local_branch = self.local_branch
371
369
        if self._create_reference:
372
 
            self.bzrdir.set_branch_reference(reference_branch)
 
370
            format = branch.BranchReferenceFormat().initialize(self.bzrdir,
 
371
                target_branch=reference_branch)
373
372
        if self._destroy_tree:
374
373
            self.bzrdir.destroy_workingtree()
375
374
        if self._create_tree: