Embedded diffs show "No newline at end of file" in green even without changes to the end
When lines close to the end of a file are changed, the embedded diff viewer can show the last line as difference context. This is what happens in the following example, since the file's pre-pre-pre-last line was modified:
TortoiseHg shows "No newline at end of file", which is not wrong, since neither the original nor the modified version end with a new line. However, that message's green color implies this has changed (i.e., that there used to be a newline at the end of the file), which is not the case. Vanilla Mercurial has it right:
This affects TortoiseHg 6.4.2 on Windows 10.