darcs

Issue 401 record --ask-deps => invalid pending! (1.0.9rc1)

Title record --ask-deps => invalid pending! (1.0.9rc1)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, stereotype441, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-01-28.06:26:44 by stereotype441, last changed 2009-08-27.13:51:36 by admin.

Files
File name Uploaded Type Edit Remove
bug_minimal_before.tar.gz stereotype441, 2007-01-28.06:26:31 application/x-gzip
pending_buggy stereotype441, 2007-01-28.06:26:43 application/octet-stream
transcript.txt stereotype441, 2007-01-28.06:26:31 text/plain
Messages
msg1442 (view) Author: stereotype441 Date: 2007-01-28.06:26:43
I just got an error message from Darcs saying "bug in darcs!  There was an
attempt to write an invalid pending!"

I was trying to record a patch that added a new file, and I was using the
"--ask" option to mark it as depending on an old file.

I managed to reproduce the bug with a fairly minimal test case.  I'm
attaching a .tar.gz of the state of my workspace before the bug occurred, a
transcript of my interaction with Darcs, and the pending_buggy file.

Darcs was running on x86 Linux, Debian testing distribution.

Thanks so much for your attention.  Darcs is a wonderful tool.

Paul Berry
Attachments
msg1529 (view) Author: kowey Date: 2007-03-09.08:25:02
Thanks for this, especially the minimal test case.

darcs-devel: I have not attempted to reproduce this. Please check the test case
for yourself.
msg2063 (view) Author: kowey Date: 2007-08-13.20:59:27
This appears to have been fixed in 1.0.9 (although I can't figure out which of
the changes --from-tag=1.0.9rc1 --to-tag=1.0.9) did it.  I cannot reproduce the
buggy pending.  Thanks for the bug report.
History
Date User Action Args
2007-01-28 06:26:44stereotype441create
2007-03-09 08:22:14koweysetfiles: - unnamed
nosy: droundy, tommy, beschmi, kowey, stereotype441
2007-03-09 08:25:15koweysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, stereotype441
messages: + msg1529
title: Bug in darcs - invalid pending -> record --ask => invalid pending! (1.0.9rc1)
2007-08-10 13:12:31koweysetnosy: droundy, tommy, beschmi, kowey, stereotype441
title: record --ask => invalid pending! (1.0.9rc1) -> record --ask-deps => invalid pending! (1.0.9rc1)
2007-08-13 20:59:29koweysetstatus: unknown -> resolved
messages: + msg2063
2009-08-06 17:51:01adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, stereotype441
2009-08-06 20:53:14adminsetnosy: - beschmi
2009-08-10 22:01:27adminsetnosy: + stereotype441, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:02:23adminsetnosy: + darcs-devel, - simon
2009-08-27 13:51:36adminsetnosy: tommy, kowey, darcs-devel, stereotype441, thorkilnaur, dmitry.kurochkin