views:

32

answers:

1

1.first i have a file name readme 2.then i change it to readme 3.commit 4.push

ok the problem is there is two readme and README

how do i delete the readme on the repository ?

when i do update i get this error abort: case-folding collision between readme and README

Thanks

Adam Ramadhan

+1  A: 

Mercurial can handle filenames in the same directory that differ only in their case within its repositories (.hg directory at the top level of your repo). On case sensitive file systems (most on unix) it can handle those files in the working directory too. However, on systems that are merely case-retentive the OS doesn't let you have two files in the same directory that differ only by case and Mercurial warns you about that (as you've seen).

To work around this limitation of your OS, checkout your clone on a case sensitive file system, delete the file, and then commit/push. So long as the windows people aren't hg updating to a revision that has the collision they'll be okay (since it's okay down in the repository just not in their working dir).

Ry4an
thanks :) btw checkout your clone on a case sensitive file system ?
Adam Ramadhan