Weird diff command shown in diff pane for empty diffs

Issue #2462 resolved
Charles Lechasseur
created an issue

Using the latest TortoiseHg (2.7.1), if I select a file in a merge changeset for which there is in fact no change, the diff page will display a weird command like this:

diff -r 4f1d4880b637 -r fd185c49189f path/to/file.cpp

Selecting the "View change in context of file" option indeed shows that there's no difference.

I don't really remember how it was displayed before, but I think this is a new behavior; I think it would be clearer to display a message like "Files are identical" or something (or perhaps simply display the file).