~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconfigure.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-21 16:02:13 UTC
  • mto: This revision was merged to the branch mainline in revision 6285.
  • Revision ID: jelmer@samba.org-20111121160213-w3w6jkfps6s091gq
Allow lazy_regex.lazy_compile patterns to be pickled.

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: