~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clone.py

  • Committer: John Arbash Meinel
  • Date: 2005-11-23 13:54:46 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: john@arbash-meinel.com-20051123135446-6d79a500f3e3f3e2
[patch] Johan Rydberg - let clone use set_revision_history instead of append_revision

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.append_revision(*history)
 
91
        branch_to.set_revision_history(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)