[PATCH] rename: detect and prevent false file deletion on case mangling systems (issue910)

Adrian Buehlmann adrian at cadifra.com
Fri Apr 18 08:02:38 CDT 2008


On 18.04.2008 14:27, Paul Moore wrote:
> On 17/04/2008, Adrian Buehlmann <adrian at cadifra.com> wrote:
>> (http://www.selenic.com/mercurial/bts/issue910)
>>
>> I would propose to detect this case, warn the user and reject -- until
>> we get the ultimate case mangling solution (tm).
>>
>> Can we do it with the patch below?
> 
> Please add a comment that this is a temporary fix and that when the
> case is handled correctly it should be removed.

Feel free to edit the patch when pushing.

The wrongful behavior is pretty hard right now, as Mercurial on
Windows deletes your file without further notice in that case, even
if it's modified.



More information about the Mercurial-devel mailing list