darcs

Issue 679 corrupted repo: "darcs changes --from-tag=^allmydata-tahoe" yields "does not exist"

Title corrupted repo: "darcs changes --from-tag=^allmydata-tahoe" yields "does not exist"
Priority bug Status wont-fix
Milestone Resolved in
Superseder corrupted repo: "darcs changes --from-tag=^allmydata-tahoe" yields "does not exist"
View: 678
Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, zooko
Assigned To
Topics

Created on 2008-02-11.21:59:46 by zooko, last changed 2009-08-27.13:55:03 by admin.

Messages
msg3338 (view) Author: zooko Date: 2008-02-11.21:59:44
Folks:

Somehow one of my repositories got corrupted so that when I run

darcs changes --from-tag=^allmydata-tahoe

(with either darcs-1.0.9 or darcs-2pre)

it says:

/home/zooko/darcsbugged/source-darcs-bugged/_darcs/patches/ 
20070817221910-92b7f-e637e92d8ddddea613300ed07f1ce943732c471c.gz:  
openBinaryFile: does not exist (No such file or directory)

I got a new copy from http://allmydata.org/source/tahoe/trunk, and  
that one doesn't have this problem.  The difference between the  
working official repository and the corrupted one is this -- it seems  
like the corrupted one has an "inventory" file with a lot *more*  
entries in it.  The full output from "diff -u -r trunk source-darcs- 
bugged" is here:

https://zooko.com/sdb.diff.u.r.txt

So this raises a few different questions:

1.  Shouldn't "darcs check" detect this corruption?

2.  Are there any known bugs in darcs, or were there recently in pre- 
releases of darcs-2, which could cause this corruption?

I can tell you rather precisely when it happened, since this is part  
of a buildbot-managed automatic build system.  On this date, there  
was no corruption and "darcs changes" worked:

http://allmydata.org/buildbot/builders/solaris/builds/416

and the next day, it was corrupt:

http://allmydata.org/buildbot/builders/solaris/builds/417

Regards,

Zooko
msg3345 (view) Author: markstos Date: 2008-02-12.00:13:52
dupe of 678.
History
Date User Action Args
2008-02-11 21:59:46zookocreate
2008-02-12 00:13:53markstossetpriority: bug
status: unread -> wont-fix
superseder: + corrupted repo: "darcs changes --from-tag=^allmydata-tahoe" yields "does not exist"
messages: + msg3345
nosy: + markstos
2009-08-06 17:54:15adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:57:50adminsetnosy: - beschmi
2009-08-10 22:14:52adminsetnosy: - darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 18:05:36adminsetnosy: + darcs-devel, - simon
2009-08-27 13:55:03adminsetnosy: tommy, kowey, markstos, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin