Can I make Mercurial case-sensitive on file names on NTFS?

Viewed 96

Is there a way to make Mercurial treat foo.txt and Foo.txt as different? So if I rename foo.txt to Foo.txt, it would see this change and alow to commit this to repository?

Currently, if I rename a file, Mercurial does not see any change and there is no way to commit the change (other than workarounds, like rename to foo_.txt first).

The backgrond is - I have a bunch of XML files which are processed to generate code and compile it to a DLL. File names and casing are important, as they become class names in target code.


Additional question: if this is not possible, would this be any different on Git?

1 Answers
Related