26
27
# list, write them out directly, etc etc.
28
29
def internal_diff(old_filename, oldlines, new_filename, newlines, to_file,
32
31
# FIXME: difflib is wrong if there is no trailing newline.
33
32
# The syntax used by patch seems to be "\ No newline at
34
33
# end of file" following the last diff line from that