~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Converted test cases to Tree Transform

Show diffs side-by-side

added added

removed removed

Lines of Context:
2076
2076
    clients might prefer to call merge.merge_inner(), which has less magic 
2077
2077
    behavior.
2078
2078
    """
2079
 
    from bzrlib.merge import Merger, _MergeConflictHandler
 
2079
    from bzrlib.merge import Merger
2080
2080
    if this_dir is None:
2081
2081
        this_dir = u'.'
2082
2082
    this_tree = WorkingTree.open_containing(this_dir)[0]
2100
2100
    merger.set_interesting_files(file_list)
2101
2101
    merger.show_base = show_base 
2102
2102
    merger.reprocess = reprocess
2103
 
    merger.conflict_handler = _MergeConflictHandler(merger.this_tree, 
2104
 
                                                    merger.base_tree, 
2105
 
                                                    merger.other_tree,
2106
 
                                                    ignore_zero=ignore_zero)
2107
2103
    conflicts = merger.do_merge()
2108
2104
    merger.set_pending()
2109
2105
    return conflicts