82
82
The regions in between can be in any of three cases:
83
83
conflicted, or changed on only one side.
87
88
def find_sync_regions(self):
88
89
"""Return a list of sync regions, where both descendents match the base.
90
Generates a list of ((base1, base2), (a1, a2), (b1, b2)).
91
Generates a list of (base1, base2, a1, a2, b1, b2).
92
93
from difflib import SequenceMatcher
93
94
aiter = iter(SequenceMatcher(None, self.base, self.a).get_matching_blocks())