[darcs-devel] [issue2049] Darcs regression: 2.5 creates a broken patch

Ganesh Sittampalam bugs at darcs.net
Fri Mar 11 21:31:18 UTC 2011


Ganesh Sittampalam <ganesh at earth.li> added the comment:

I still think the behaviour of hashed-storage is a bug - it should 
refuse to add files to non-existent directories, rather than silently 
creating the directories. But I also think darcs should explicitly check 
in advance rather than asking it to do so, as the current code would 
rely on catching an exception which is a bit ugly. So that's what 
patch565 does.

BTW this regresses from 2.4 because we switched from using 
SlurpDirectory to hashed-storage for this code path between those two 
releases.

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


More information about the darcs-devel mailing list