~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

(vila) Revise legal option names to be less drastic. (Vincent Ladeuil)

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
 
23
25
 
24
26
from bzrlib import (
25
27
    branch,
367
369
        else:
368
370
            local_branch = self.local_branch
369
371
        if self._create_reference:
370
 
            format = branch.BranchReferenceFormat().initialize(self.bzrdir,
371
 
                target_branch=reference_branch)
 
372
            self.bzrdir.set_branch_reference(reference_branch)
372
373
        if self._destroy_tree:
373
374
            self.bzrdir.destroy_workingtree()
374
375
        if self._create_tree: