I don't try with hg repo but I suppose you are correct. The problem is
that in my deployment script, I use capistrano, my application is
called in case sensitive name (MyRepo), so when the repo is cloned the
command doesn't work.
Probably in this way will work If you have a new deployment. I have
already a deployment active in a directory called "MyRepo" so I should
rename it in myrepo, change some path in Apache configuration, etc ...
Probably I'll do it because I want use bitbucket instead of my private
repo. I hope that Bitbucket will be case sensitive in the future ...
But the question is "Is this a good design?". You should give the user the freedom to name her repository as she likes, rather than default the name she has chosen to whatever you prefer. This is not only a concern of inconvenience, it is just inconsistent or controversial to file name conventions promoted by almost all modern OSes.