47
def merge_bundle(reader, tree, check_clean, merge_type,
29
def merge_bundle(reader, tree, check_clean, merge_type,
49
31
"""Merge a revision bundle into the current tree."""
50
32
pb = bzrlib.ui.ui_factory.nested_progress_bar()
52
34
pp = ProgressPhase("Merge phase", 6, pb)
54
36
install_bundle(tree.branch.repository, reader)
55
merger = Merger(tree.branch, this_tree=tree, pb=pb,
61
41
merger.other_rev_id = reader.target
62
42
merger.other_tree = merger.revision_tree(reader.target)
63
43
merger.other_basis = reader.target