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
Attachments
|