[darcs-devel] [issue2318] hashed_inventory is vulnerable to unguided search and replace

Ganesh Sittampalam bugs at darcs.net
Mon Apr 22 21:24:31 UTC 2013


New submission from Ganesh Sittampalam <ganesh at earth.li>:

A user on IRC reported repository problems, manifesting as 

Failed to commute common patches
bug at src/Darcs/Patch/Depends.hs:249

The user had two repos and pulling between them was reliably causing 
this error. darcs check in both repos was fine.

After some investigating by the user, it turned out that 
_darcs/hashed_inventory in one repo had been affected by a general 
search and replace.

We ought to have integrity checking and/or compression on this file to 
avoid this problem.

----------
messages: 16771
nosy: ganesh
priority: bug
status: unknown
title: hashed_inventory is vulnerable to unguided search and replace

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


More information about the darcs-devel mailing list