115
115
yield (x for x in origins if x != new_revision_id).next(), line
117
117
yield new_revision_id, line
120
120
def _reannotate(parent_lines, new_lines, new_revision_id):
121
121
plain_parent_lines = [l for r, l in parent_lines]
123
122
patiencediff.PatienceSequenceMatcher()
127
126
for i, j, n in matcher.get_matching_blocks():
128
127
for line in new_lines[new_cur:j]:
129
128
yield new_revision_id, line
130
129
for data in parent_lines[i:i+n]: