~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/apply_bundle.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
 
44
44
def merge_bundle(reader, tree, check_clean, merge_type, 
45
 
                    reprocess, show_base):
 
45
                    reprocess, show_base, change_reporter=None):
46
46
    """Merge a revision bundle into the current tree."""
47
47
    pb = bzrlib.ui.ui_factory.nested_progress_bar()
48
48
    try:
49
49
        pp = ProgressPhase("Merge phase", 6, pb)
50
50
        pp.next_phase()
51
51
        install_bundle(tree.branch.repository, reader)
52
 
        merger = Merger(tree.branch, this_tree=tree, pb=pb)
 
52
        merger = Merger(tree.branch, this_tree=tree, pb=pb,
 
53
                        change_reporter=change_reporter)
53
54
        merger.pp = pp
54
55
        merger.pp.next_phase()
55
56
        merger.check_basis(check_clean, require_commits=False)