darcs

Issue 433 --partial get of current unstable repo fails

Title --partial get of current unstable repo fails
Priority bug Status resolved
Milestone Resolved in
Superseder optimize --reorder may invalidate checkpoint
View: 490
Nosy List darcs-devel, dmitry.kurochkin, fx, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-04-15.17:57:47 by fx, last changed 2009-08-27.13:59:48 by admin.

Messages
msg1587 (view) Author: fx Date: 2007-04-15.17:57:43
I'm surprised if this hasn't been reported already, but I couldn't see
it in the tracker.

I get the following with either darcs 1.0.8 or the current development
sources.  A partial get of the stable repo works, as does a
non-partial get of the unstable one.

 $ darcs get --partial http://www.abridgegame.org /repos/darcs-unstable
 This is the head (unstable) branch of darcs.
 **********************
 Copying patch 210 of 210... done!
 darcs: failed to read patch in get_extra:
 Thu Nov 16 14:03:51 GMT 2006  Tommy Pettersson <ptp@lysator.liu.se>
   tagged 1.0.9rc2
 Perhaps this is a 'partial' repository?
msg1823 (view) Author: kowey Date: 2007-07-14.20:46:05
As I understand it, this has been fixed.  No need to update your darcs.
msg1824 (view) Author: kowey Date: 2007-07-14.20:51:01
Huh, what? I think I spoke too soon.  Sorry!  But I think we'll have this fixed
shortly. (Let these not be famous last words)
msg1865 (view) Author: kowey Date: 2007-07-18.20:51:18
Ok, so for starters, the unstable repository now lives at
 http://www.darcs.net/repos/unstable

Secondly, the partial get seems to fetch all patches.  Should I run optimize
--checkpoint there, Tommy or do you think bad things would happen?
msg1868 (view) Author: tommy Date: 2007-07-18.22:53:54
> Secondly, the partial get seems to fetch all patches.  Should I run optimize
> --checkpoint there, Tommy or do you think bad things would happen?

There is a bug in <= 1.0.9 that can make old checkpoints bad if
you run 'optimize --reorder'. One way to get rid of them is to
'rm _darcs/checkpoints/*'. Running 'optimize --checkpoint' again
generates a new (valid) checkpoint, that overwrites the bad one,
so this is another way, if you know exactly which checkpoints
are bad.
msg1872 (view) Author: kowey Date: 2007-07-19.04:56:04
Ok, so I did a darcs get and then

 darcs optimize
 rm _darcs/checkpoints/*
 darcs optimize --checkpoint
 darcs optimize --reorder

And swapped out the two repositories... so it seems to be fixed now (get
--partial fetches only 321 patches)
msg1879 (view) Author: fx Date: 2007-07-19.17:00:00
Eric Kow <bugs@darcs.net> writes:

> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Ok, so for starters, the unstable repository now lives at
>  http://www.darcs.net/repos/unstable

Where should one look for that info?  E.g.
http://wiki.darcs.net/DarcsWiki/DeveloperFAQ says it's at
abridgegame.org.
msg1880 (view) Author: kowey Date: 2007-07-20.07:32:35
Oops.  I've fixed that URL and others.  Do let me know if you find more.  I'll
also send out a notice with the next round of patches.   Thanks.
History
Date User Action Args
2007-04-15 17:57:47fxcreate
2007-07-14 20:46:05koweysetstatus: unread -> resolved
superseder: + optimize --reorder may invalidate checkpoint
messages: + msg1823
nosy: droundy, tommy, beschmi, kowey, fx
2007-07-14 20:51:05koweysetstatus: resolved -> unknown
messages: + msg1824
2007-07-18 20:51:19koweysetmessages: + msg1865
2007-07-18 22:53:56tommysetmessages: + msg1868
2007-07-19 04:56:09koweysetstatus: unknown -> resolved
messages: + msg1872
2007-07-19 17:00:01fxsetstatus: resolved -> unknown
messages: + msg1879
2007-07-20 07:32:44koweysetstatus: unknown -> resolved
messages: + msg1880
2008-05-23 10:12:45koweylinkissue873 superseder
2009-08-06 17:36:19adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, fx
2009-08-06 20:33:22adminsetnosy: - beschmi
2009-08-10 22:02:55adminsetnosy: + fx, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:50:18adminsetnosy: + darcs-devel, - simon
2009-08-27 13:59:48adminsetnosy: tommy, kowey, fx, darcs-devel, thorkilnaur, dmitry.kurochkin