darcs

Issue 272 attempt to write invalid pending (1.0.7)

Title attempt to write invalid pending (1.0.7)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List chris.lesner, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-09-27.14:39:12 by chris.lesner, last changed 2009-08-27.13:50:13 by admin.

Files
File name Uploaded Type Edit Remove
duplicates kowey, 2006-10-01.21:04:52 text/plain
pending_buggy chris.lesner, 2006-09-27.14:39:06 application/octet-stream
unnamed chris.lesner, 2006-09-27.14:39:06 text/html
unnamed chris.lesner, 2006-10-01.22:00:39 text/html
Messages
msg1007 (view) Author: chris.lesner Date: 2006-09-27.14:39:06
trunk/bin/atk
trunk/bin
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'.
$darcs --exact-version
darcs compiled on May 27 2006, at 00:32:26
# configured Sat May 27 00:03:13 PDT 2006
./configure

Context:

[TAG 1.0.7
Tommy Pettersson <ptp@lysator.liu.se>**20060513171438]
Attachments
msg1008 (view) Author: chris.lesner Date: 2006-09-27.20:48:43
This on my solaris box:

$uname -a
SunOS hercules 5.9 Generic_118558-22 sun4u sparc SUNW,Sun-Fire-V890
$
msg1037 (view) Author: kowey Date: 2006-10-01.21:04:56
I took a look at the pending.  There are double entries for many files.
Note that the filenames are very similar, but there only seems to be
one duplicate for each file affected.  Attaching a list of duplicates.
(generated by sort, uniq, diff)

Ideas?
Attachments
msg1038 (view) Author: chris.lesner Date: 2006-10-01.22:00:39
Hmmm... I do not see any duplicated _paths_ on that list...
In my project  many files share the same name however they are in different
directories.
It is the full path that identifies a file not the basename...

-Chris

note: Think .bashrc  every user can have one in own dir but names are all
shared.

On 10/1/06, Eric Kow <bugs@darcs.net> wrote:
>
>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> I took a look at the pending.  There are double entries for many files.
> Note that the filenames are very similar, but there only seems to be
> one duplicate for each file affected.  Attaching a list of duplicates.
> (generated by sort, uniq, diff)
>
> Ideas?
>
> ----------
> title: BUG REPORT: There was an attempt to write an invalid pending! ->
> attempt to write invalid pending (1.0.7)
>
> ____________________________________
> Darcs issue tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue272>
> ____________________________________
>
>
Attachments
msg1040 (view) Author: kowey Date: 2006-10-02.04:33:38
On Sun, Oct 01, 2006 at 22:00:46 +0000, Chris Lesner wrote:
> Hmmm... I do not see any duplicated _paths_ on that list...
> In my project  many files share the same name however they are in different
> directories.
> It is the full path that identifies a file not the basename...

Yep; I was initially confused by that (hence the warning that files have
very similar names - I meant paths), but if you do
   sort pending_buggy | uniq -c | grep 2
you'll notice some double entries

No triple entries or above, though
msg1340 (view) Author: droundy Date: 2006-12-17.22:23:17
I'm guessing that this is fixed by the latest bugfixes in darcs-unstable, but
it's hard to say, since I don't see what triggered this bug.  Chris, can you
reproduce this bug, or give us intstructions how to do so? If you can't, I
recommend closing this report, since there's very little we can do to determine
it's fixed, and odds are good that it has been fixed recently anyhow.

David
msg1851 (view) Author: kowey Date: 2007-07-17.05:27:24
Closing this bug because it looks like the resolved issue365.  Please repoen if
you can reproduce the bug in 1.0.9.
History
Date User Action Args
2006-09-27 14:39:12chris.lesnercreate
2006-09-27 20:48:46chris.lesnersetstatus: unread -> unknown
nosy: droundy, tommy, kowey, chris.lesner
messages: + msg1008
2006-10-01 21:04:57koweysetfiles: + duplicates
nosy: droundy, tommy, kowey, chris.lesner
messages: + msg1037
title: BUG REPORT: There was an attempt to write an invalid pending! -> attempt to write invalid pending (1.0.7)
2006-10-01 22:00:46chris.lesnersetfiles: + unnamed
nosy: droundy, tommy, kowey, chris.lesner
messages: + msg1038
2006-10-02 04:33:46koweysetnosy: droundy, tommy, kowey, chris.lesner
messages: + msg1040
2006-12-17 22:23:19droundysetnosy: droundy, tommy, kowey, chris.lesner
messages: + msg1340
2007-07-17 05:27:26koweysetstatus: unknown -> resolved
nosy: + beschmi
messages: + msg1851
2009-08-06 17:45:31adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, chris.lesner
2009-08-06 20:41:23adminsetnosy: - beschmi
2009-08-10 21:55:52adminsetnosy: + chris.lesner, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:57:31adminsetnosy: + darcs-devel, - simon
2009-08-27 13:50:13adminsetnosy: tommy, kowey, darcs-devel, chris.lesner, thorkilnaur, dmitry.kurochkin