Mercurial ignores a file rename (changing case)

This is a case folding problem. Try to rename the file through Mercurial: hg rename jquery.fullpage.js jquery.fullPage.js.


If you're renaming a file you are good to go with hg rename as already said.

However (at least on Windows), if you're renaming a folder then you can't rename it directly. The common workaround is to use an intermediate:

hg rename Foo tmp
hg rename tmp foo

Another workaround is using intermediate delete. But this is discouraged because you would lose the file history.

Tags:

Mercurial