darcs

Message5171

Author wlux
Recipients beschmi, dagit, tommy, wlux
Date 2008-07-02.16:23:44
Issue Issue944 darcs can corrupt inventory of a partial repository
Content
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
File name Uploaded
bug.sh wlux, 2008-07-02.16:23:44
History
Date User Action Args
2008-07-02 16:23:44wluxcreate
2008-07-02 16:23:51wluxlinkissue944 messages
2008-07-02 16:23:51wluxsetrecipients: + wlux, tommy, beschmi, dagit
2008-09-20 14:42:42adminsetauthor: wlux -> wlux
2008-09-20 14:42:42adminsetrecipients: + wlux, - wlux