76
74
assert isinstance(to_location, basestring)
77
75
if basis_branch is not None:
78
76
note("basis_branch is not supported for fast weave copy yet.")
79
78
if not os.path.exists(to_location):
81
80
branch_to = Branch.initialize(to_location)
82
81
mutter("copy branch from %s to %s", branch_from, branch_to)
83
82
branch_to.set_root_id(branch_from.get_root_id())
86
84
_copy_control_weaves(branch_from, branch_to)
88
85
_copy_text_weaves(branch_from, branch_to)
89
86
_copy_revision_store(branch_from, branch_to)
90
87
build_working_dir(to_location)