[darcs-devel] [issue945] Bug: darcs can corrupt inventory of a partial repository

Wolfgang Lux bugs at darcs.net
Wed Jul 2 16:23:51 UTC 2008


New submission from Wolfgang Lux <wlux at uni-muenster.de>:

Hello,

I have encountered a bug where darcs 2.0.2 writes out an incorrect  
inventory when undoing changes or performing darcs optimize in a  
repository checked out with darcs get --partial. This seems to happen  
only when multiple checkpoints are present. In particular, the  
inventory written out after these operations lists *all* patches of  
the repository rather than only the patches since the checkpoint.  
This may lead to problems with future commands and darcs check.

The test script attached below reproduces the problem. In this case  
it was necessary to introduce three check points, but I have observed  
the issue in a real world repository with only two checkpoints, too.

Regards
Wolfgang

----------
files: bug.sh
messages: 5170
nosy: beschmi, dagit, tommy, wlux
status: unread
title: Bug: darcs can corrupt inventory of a partial repository

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue945>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.sh
Type: application/octet-stream
Size: 686 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080702/038e7c60/attachment-0001.obj 


More information about the darcs-devel mailing list