I\'ve seen the other Mercurial case-folding Answers on StackOverflow - they say that if you have access to a case sensitive file system like unix then check out there and it
I solved in a simpler way:
What it's really causing the problem is trying to create and delete at the same time a file/folder that is potentially the same in case unsensitive systems.