~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clone.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        branch_to = Branch.initialize(to_location)
89
89
        mutter("copy branch from %s to %s", branch_from, branch_to)
90
90
        branch_to.working_tree().set_root_id(branch_from.get_root_id())
91
 
        branch_to.set_revision_history(history)
 
91
        branch_to.append_revision(*history)
92
92
        _copy_control_weaves(branch_from, branch_to)
93
93
        _copy_text_weaves(branch_from, branch_to)
94
94
        _copy_revision_store(branch_from, branch_to)