darcs

Issue 300 get --partial => Impossible case at PatchRead.lhs:56 (1.0.8)

Title get --partial => Impossible case at PatchRead.lhs:56 (1.0.8)
Priority bug Status duplicate
Milestone Resolved in
Superseder get --partial => Impossible case at PatchRead.lhs:56 (1.0.8, Windows)
View: 364
Nosy List darcs-devel, dmitry.kurochkin, gregbucholz, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-10-13.22:23:31 by gregbucholz, last changed 2009-10-24.09:09:10 by admin.

Messages
msg1087 (view) Author: gregbucholz Date: 2006-10-13.22:23:20
Here's a darcs failure I recieved today...

darcs get --partial --repo-name=depends/filepath http://www.cs.york.ac.uk/fp/darcs/filepath
Copying patch 78 of 78... done!
Applying patch 78 of 78... done.
darcs: bug in darcs!
Impossible case at PatchRead.lhs:56 compiled 08:35:51 Oct 13 2006
Please report this to bugs@darcs.net,
If possible include the output of 'darcs --exact-version'.

...I was having problems building the YHC haskell compiler, which I had
downloaded with darcs-1.0.3 and it was suggested that I upgrade to a
newer darcs, which is how I got this error.  Here's the output of...

~/haskell/YHC/yhc$ darcs --exact-version
darcs compiled on Oct 13 2006, at 08:41:26
# configured Fri Jun 16 14:55:21 EDT 2006
./configure --no-create --no-recursion

Context:

[TAG 1.0.8
Tommy Pettersson <ptp@lysator.liu.se>**20060616160213] 

...I'm assuming that this is caused by some incompatability between
1.0.3 and 1.0.8.  Hope this is of help.

Greg Buchholz
msg1158 (view) Author: kowey Date: 2006-10-29.06:44:57
Hmm... I tried to reproduce this, but darcs get worked fine for me

$ mkdir -p foo/depends
$ cd foo
$ darcs get --partial --repo-name=depends/filepath http://www.cs.york.ac.uk/fp/darcs/filepath
Copying patch 78 of 78... done!
Applying patch 78 of 78... done.
Finished getting.

$ darcs --version
1.0.8 (release)

I find this odd.  We're using the same darcs version.  I'm not sure what
other variables might be in play here.  I've tried this on both my Mac
and my Linux virtual machine.

Any ideas?
msg1159 (view) Author: gregbucholz Date: 2006-10-30.17:00:19
Eric Kow wrote:
> 
> Eric Kow <eric.kow@gmail.com> added the comment:
> 
> Hmm... I tried to reproduce this, but darcs get worked fine for me
> 
> I find this odd.  We're using the same darcs version.  I'm not sure what
> other variables might be in play here.  I've tried this on both my Mac
> and my Linux virtual machine.
> 
> Any ideas?

    I started out with a previous version of darcs, 1.0.3, then when
that didn't work, I upgraded to a newer version.  This then caused the
failure.  I'm assuming that there was some inconsistent partial result
from the 1.0.3 get, which confused 1.0.8.  It's probably nothing to
worry about, but I thought I'd report the bug, since it asked me to ;-)

Greg Buchholz
msg1533 (view) Author: kowey Date: 2007-03-09.14:06:46
This is on Windows, right?  Deferring until we sort out issue364
msg1996 (view) Author: kowey Date: 2007-08-04.07:56:23
Marking as duplicate now that we can.  See issue364.  Thanks.
msg2383 (view) Author: markstos Date: 2008-01-09.04:09:36
haskell,

Do you experience this issue consistently? Does it still happen for you? I
wonder if doing a "darcs init" followed by a "darcs pull -a" is a workaround. 

   Mark
History
Date User Action Args
2006-10-13 22:23:31gregbucholzcreate
2006-10-29 06:45:03koweysetstatus: unread -> unknown
nosy: droundy, tommy, kowey, gregbucholz
messages: + msg1158
2006-10-30 17:00:25gregsetnosy: + greg
messages: + msg1159
2007-03-09 14:06:55koweysetstatus: unknown -> deferred
nosy: + beschmi
superseder: + get --partial => Impossible case at PatchRead.lhs:56 (1.0.8, Windows)
messages: + msg1533
title: Impossible case at PatchRead.lhs:56 -> Impossible case at PatchRead.lhs:56 (1.0.8)
2007-03-09 14:07:39koweysetnosy: droundy, tommy, beschmi, kowey, gregbucholz, greg
title: Impossible case at PatchRead.lhs:56 (1.0.8) -> get --partial => Impossible case at PatchRead.lhs:56 (1.0.8)
2007-08-04 07:56:26koweysetstatus: deferred -> duplicate
nosy: droundy, tommy, beschmi, kowey, gregbucholz, greg
messages: + msg1996
2008-01-09 04:09:38markstossetnosy: + markstos
messages: + msg2383
2009-08-06 17:35:10adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, gregbucholz, greg
2009-08-06 20:32:19adminsetnosy: - beschmi
2009-08-10 21:56:55adminsetnosy: + greg, gregbucholz, - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:49:27adminsetnosy: + darcs-devel, - simon
2009-08-27 13:52:36adminsetnosy: tommy, kowey, markstos, darcs-devel, gregbucholz, greg, thorkilnaur, dmitry.kurochkin
2009-10-24 09:09:10adminsetnosy: - greg