"Detect renames" does not work in the same way as "hg addremove"
Created originally on Bitbucket by mskr
As a user, I would like the "detect renames" button to detect renames and to behave similarly to "hg addremove"
hg init . echo aaa > file.txt hg commit -m "adding file" mv file.txt renamed.txt
If I try to "detect renames", the behavior is different depending on the state of the files:
If renamed.txt is unversioned and file.txt is missing:
"detect renames" work as expected and detects the rename.
If renamed.txt is added, file.txt is removed
OR renamed.txt is added, file.txt is missing
OR renamed.txt is unversioned, file.txt is removed
"detect renames" does not detect the rename.
is for "detect renames" to work the same as "hg addremove", which detects the rename in all of the different cases.
Affected versions: 3.3.3 - 3.4.+7