29
47
def merge_bundle(reader, tree, check_clean, merge_type,
31
49
"""Merge a revision bundle into the current tree."""
32
50
pb = bzrlib.ui.ui_factory.nested_progress_bar()
34
52
pp = ProgressPhase("Merge phase", 6, pb)
36
54
install_bundle(tree.branch.repository, reader)
55
merger = Merger(tree.branch, this_tree=tree, pb=pb,
40
59
merger.check_basis(check_clean, require_commits=False)
46
65
if merger.base_rev_id == merger.other_rev_id: