On Fri, Nov 24, 2006 at 10:16:25AM +0000, simonpj wrote: > I set my defaultrepo file to > [EMAIL PROTECTED]:/home/darcs/packages/base > and tried to push. Here's what Darcs said: > > Secure connection to microsoft.com refused. > Pushing to "[EMAIL PROTECTED]:/darcs/home/packages/base"... > darcs.exe: bug in darcs! > fromJust error at Push.lhs:136 compiled 11:51:58 Jun 16 2006 > Please report this to [EMAIL PROTECTED], > If possible include the output of 'darcs --exact-version'. > > I got the host address wrong. It should be darcs.haskell.org, not > Microsoft.com. > > But the error message is rather misleading, isn't it? It says that darcs > is at fault. But it isn't!
Indeed, this is a bug, which'll take more than the few minutes I've got free to fix. We're somehow not realizing that this isn't a valid repository, which is very bad, and not failing until we are unable to download a patch. There should have been a failure in identifyRepository way back in line 121 of Push.lhs. So that's where to start looking at this. And this looks like a bug that could bite other bits of darcs as well, so it's very much worth fixing. I'm cc'ing darcs-devel in hopes of motivating some up-and-coming darcs developer... or perhaps some overburdened darcs maintainer, but preferably the former. I think this is a tractable bug for someone moderately familiar with Haskell, provided it can be reproduced... I see that I'm not able to reproduce it! So maybe this is a tricky bug of some sort. I hate windows-specific bugs--not that this is necesarily one, but odds are good, since it doesn't occur on my computer. :( -- David Roundy Department of Physics Oregon State University _______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
