Amend doesn't work when files were removed
Created originally on Bitbucket by Anonymous
Steps to reproduce:
hg init
echo foo > foo.txt
echo bar > bar.txt
hg add foo.txt
hg add bar.txt
hg commit -m "Added foo and bar"
hg rm bar.txt
echo (but not bar) >> foo.txt
hg commit -m "Remove bar"
thg
Now in TortoiseHG switch to "Amend" mode, modify the commit message and click the Amend button. Error:
abort: bar.txt: The system cannot find the file specified