[darcs-devel] [issue1461] case-folding can lead to working directory corruption

Ben Franksen bugs at darcs.net
Sat Jul 13 18:51:12 UTC 2019


Ben Franksen <ben.franksen at online.de> added the comment:

>> As it's "only" the working tree that breaks, perhaps it suffices to
>> reliably detect the situation and instruct the user that they should
>> rename or remove one of the files to make the problem go away; and also
>> warn them that this "fix" may not be permanent i.e. the problem may
>> re-appear if they re-order patches. That shouldn't be too hard to do.
> 
> That's probably ok, though I'm not entirely sure how they'd actually
> record the patch to do that if they don't have access to a non-Windows
> machine.

I thought they just do 'darcs move A a' followed by a record, possibly
using --case-ok or something... I don't know for sure how this would go
down with apply, but I suppose we can figure that out.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1461>
__________________________________


More information about the darcs-devel mailing list