766
767
class WeaveMerger(Merge3Merger):
767
768
"""Three-way tree merger, text weave merger."""
769
770
supports_show_base = False
771
772
def __init__(self, working_tree, this_tree, base_tree, other_tree,
773
interesting_ids=None, pb=DummyProgress(), pp=None,
773
775
self.this_revision_tree = self._get_revision_tree(this_tree)
774
776
self.other_revision_tree = self._get_revision_tree(other_tree)
775
777
super(WeaveMerger, self).__init__(working_tree, this_tree,
777
779
interesting_ids=interesting_ids,
780
782
def _get_revision_tree(self, tree):
781
783
"""Return a revision tree releated to this tree.