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

Ian Lynagh igloo at earth.li
Sat Jul 13 17:03:30 UTC 2019


On Sat, Jul 13, 2019 at 06:34:49PM +0200, Ben Franksen wrote:
> Am 13.07.19 um 16:01 schrieb Ian Lynagh:
> > Or perhaps "add A" should depend on "rm a"?
> 
> This is similar to what I proposed before i.e. use case-insensitive
> comparsion of file paths on Windows.
> 
> It means whether two patches conflict depends on which system you are
> on. We'd get two incompatible patch theories and can no longer safely
> exchange patches between Linux and Windows repos.

I didn't mean just on Windows, I meant everywhere.

You could arguably want this to be configurable, for cases where a repo
would always be on case-sensitive file systems and you need files that
differ only in case. But the distributedness makes this tricky to handle
well.


Thanks
Ian



More information about the darcs-devel mailing list