darcs

Issue 417 pull rmdir then unrecord => invalid pending! (1.0.8)

Title pull rmdir then unrecord => invalid pending! (1.0.8)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, tsnowhite
Assigned To droundy
Topics

Created on 2007-02-24.00:19:06 by tsnowhite, last changed 2009-08-27.14:06:23 by admin.

Files
File name Uploaded Type Edit Remove
pending_buggy tsnowhite, 2007-02-24.00:18:57 application/octet-stream
Messages
msg1492 (view) Author: tsnowhite Date: 2007-02-24.00:18:57
>From Tim:

For unknown reasons, darcs picked up the removal of a couple of
directories without explicitly being told to remove them at the
commandline. I 'record'ed this change to move on and have an empty
'whatsnew'. Pulling the rmdir patch and then trying to unrecord it
caused the following error:

Shall I unrecord this patch? (3/3)  [ynWvpxqadjk], or ? for help:
darcs: bug in darcs!
There was an attempt to write an invalid pending!
If possible, please send the contents of _darcs/patches/pending_buggy
along with a bug report.
Please report this to bugs@darcs.net
If possible include the output of 'darcs --exact-version'.

C:\Code\ >darcs --exact-version
darcs compiled on Jun 16 2006, at 13:00:32
# configured Fri Jun 16 12:59:52 USMST 2006
./configure --disable-mmap

Context:

[TAG 1.0.8
Tommy Pettersson <ptp@lysator.liu.se>**20060616160213]
Attachments
msg1513 (view) Author: kowey Date: 2007-03-08.09:57:55
> For unknown reasons, darcs picked up the removal of a couple of
> directories without explicitly being told to remove them at the
> commandline.

That's a feature

> Pulling the rmdir patch and then trying to unrecord it
> caused the following error

On the other hand, that sounds like a bug.  Could you be so kind as to submit a
minimal example so that we can reproduce it?  It will likely end up going in our
test suites.
msg2588 (view) Author: markstos Date: 2008-01-19.06:24:34
This might be a duplicate of issue414, which is also waiting on an example to
reproduce it.
msg2595 (view) Author: droundy Date: 2008-01-19.13:03:00
I'm resolving this, as pending handling has been completely rewritten since
1.0.8, with many buggy-pending bugs fixed.  Without the ability to reproduce
this, this bug report doesn't gain us anything.
History
Date User Action Args
2007-02-24 00:19:06tsnowhitecreate
2007-03-08 09:58:01koweysetstatus: unread -> waiting-for
nosy: droundy, tommy, beschmi, kowey, tsnowhite
messages: + msg1513
title: There was an attempt to write an invalid pending! -> pull rmdir then unrecord => invalid pending! (1.0.8)
2008-01-19 06:24:35markstossetnosy: + markstos
messages: + msg2588
2008-01-19 13:03:01droundysetstatus: waiting-for -> resolved-in-unstable
nosy: droundy, tommy, beschmi, kowey, markstos, tsnowhite
messages: + msg2595
2008-01-22 15:14:12droundysetnosy: droundy, tommy, beschmi, kowey, markstos, tsnowhite
assignedto: droundy
2008-09-04 21:30:36adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:45:12adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, tsnowhite
2009-08-06 20:41:19adminsetnosy: - beschmi
2009-08-10 22:02:11adminsetnosy: + tsnowhite, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:59:39adminsetnosy: - dagit
2009-08-25 17:57:24adminsetnosy: + darcs-devel, - simon
2009-08-27 14:06:23adminsetnosy: tommy, kowey, markstos, darcs-devel, tsnowhite, thorkilnaur, dmitry.kurochkin