Incorrect Visual Diff for a renamed and modified file within a subdirectory
Created originally on Bitbucket by regent (Eugene Baranov)
Steps to reproduce:
{{{ #!bat hg init RenameTest cd RenameTest mkdir Subdir cd Subdir echo Test > Foo.txt hg add Foo.txt hg ci -m "Initial commit" echo Modified >> Foo.txt hg rename Foo.txt Bar.txt thg ci }}}
The commit window will correctly display diff from the renamed file (see [commit.png] attached) but Visual Diff of 'Subdir/Bar.txt' with display as it was created from an empty file -- please see [visual-diff.png] attached.
(The same works fine when the file located in a root of the repository.)
Attachments: commitvisual-diff