~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clone.py

  • Committer: Robert Collins
  • Date: 2005-11-28 05:13:41 UTC
  • mfrom: (1185.33.54 merge-recovered)
  • Revision ID: robertc@robertcollins.net-20051128051341-059936f2f29a12c8
Merge from Martin. Adjust check to work with HTTP again.

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)