Rename bug, leading to abort: case-folding... THG 2.11.1, WIndows 7
Created originally on Bitbucket by GregSmith (Greg Smith)
If you use Rename to change the case of a file name, the renamed file shows up as R(emoved), but the new file does not show up as A(dded). However, if you quit TortoiseHg and open it again, the file does show up as A.
Having done this for one file and being worried that the workbench was not coping properly, I then tried the case changing rename for some other files from the command line and all seemed well. Everything built OK, So I went back to the workbench and committed the changed case files thinking all was well and pushed them to the main repo. When I run on another machine and Pull and Update I get the dreaded: abort: case-folding collision between compiler/engine.cpp and compiler/Engine.cpp
Going back to the commit before this change, I see that NOW, the file compiler/Engine.cpp is marked as !R(emoved) in the working directory, so something plainly went wrong with the Rename from the Workbench.
How do I fix this... please don't tell me to use Linux to fix a bug caused entirely by TortoiseHg/Mercurial. Surely there is some simple way (as seen by the user) to get past this. I see from the archives that this comes up regularly as a problem. It is likely to be a problem in the future as folks try to regularise case, especially if you are migrating code to Linux.