darcs

Issue 444 broken repository

Title broken repository
Priority bug Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, zooko
Assigned To
Topics

Created on 2007-04-24.05:09:38 by zooko, last changed 2009-08-27.13:53:23 by admin.

Messages
msg1660 (view) Author: zooko Date: 2007-04-24.05:07:41
I have a repository that is ill-formed, and when I touch one of the broken
files darcs errors out, and I can't fix it by "darcs repair".  I think that the
problem is that the addfile change has gone missing for a file.  See:

zooko@hanford:/tmp/tmp/trunk$ time find _darcs/patches/ -print0 | xargs -0 zgrep "./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp"
_darcs/patches/20061010094335-9e490-879e3eb99adbe3af61b3a39eb3e6ef544b39c420.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 139
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 160
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 171
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 183
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 201
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 203
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 207
_darcs/patches/20060919194329-f5d0a-4387e310df10e335f3d568b479ad6dbcff945d3b.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 210
_darcs/patches/20060919192522-9e490-f2be86f998bd6557db124091ce2db6b45b8c3e57.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 74
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 69
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 74
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 107
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 144
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 161
_darcs/patches/20060919041009-7fc7f-349d9971a0fae326ed7fd84082661a314b31099d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 170
_darcs/patches/20060912053355-7fc7f-ef916e86075e7b96b3a9f8596680595b50c8f64a.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 1
_darcs/patches/20060630201105-7fc7f-938e8bb571b7c60d824e6a1ad3f50bb82d16ed6d.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 84
_darcs/patches/20060605014825-7fc7f-d1b938ea52c1dec9a659b4a435e5e3cad3a39e3e.gz:hunk ./trunk/ui/win32/nse/amdhandler/AmdContextMenu.cpp 1

real    0m20.483s
user    0m8.330s
sys     0m4.820s

Is there any workaround that I can use to make this repository fully
operational again?  Perhaps a new version of darcs (I would be more than happy
to test a patch) which detects and repairs this kind of situation?

Regards,

Zooko
msg1687 (view) Author: zooko Date: 2007-05-11.04:10:25
We eventually found another patch by the same name in another repository which
added the right file, and so we could work around this problem by overwriting
the bogus patch with that other one.

However, we now encounter similar problems with other patches that we don't know
how to work-around.
msg1688 (view) Author: zooko Date: 2007-05-11.05:22:12
Okay, we found a repository which wasn't broken and switched over to using that.
 So now we're no longer stuck on this bug.
msg2589 (view) Author: markstos Date: 2008-01-19.06:33:35
Without clearer example of how the repository became "broken", I don't think
we'll be able to do much with this bug report.
msg2832 (view) Author: zooko Date: 2008-01-28.14:30:15
Since I can't tell how the repository got this way, and since we hope that
darcs-2 does things sufficiently differently that it will have different bugs,
let's close this one.
History
Date User Action Args
2007-04-24 05:09:38zookocreate
2007-05-11 04:10:46zookosetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, zooko
messages: + msg1687
2007-05-11 05:23:22zookosetnosy: droundy, tommy, beschmi, kowey, zooko
messages: + msg1688
2008-01-19 06:33:36markstossetstatus: unknown -> waiting-for
nosy: + markstos
messages: + msg2589
2008-01-28 14:30:17zookosetnosy: droundy, tommy, beschmi, kowey, markstos, zooko
messages: + msg2832
2008-01-28 17:28:38markstossetstatus: waiting-for -> wont-fix
nosy: droundy, tommy, beschmi, kowey, markstos, zooko
2009-08-06 17:35:36adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:32:46adminsetnosy: - beschmi
2009-08-10 22:03:31adminsetnosy: - darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:49:48adminsetnosy: + darcs-devel, - simon
2009-08-27 13:53:23adminsetnosy: tommy, kowey, markstos, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin