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