David Roundy <[EMAIL PROTECTED]>:
>> >darcs failed: Can't understand repo format: <!DOCTYPE HTML PUBLIC
>> >"-//IETF//DTD HTML 2.0//EN">
>> Indeed there is no such file in the repo,
> It's definitely a doc bug.
David, I think there's a misunderstanding.
The problem is that by default, curl doesn't report HTTP result code 404
as an error, but simply returns the error document, which confuses
Darcs. You need to run ``curl -f'' (``--fail'') in order to get a
non-null result code on 404.
(This is not the only issue with curl, which has some other silly
quirks. I *strongly* recommend using Darcs compiled against libcurl
rather than relying on an external curl binary.)
What Daniel is complaining about is that the example given in the
manual section about DARCS_GET_FOO is incorrect -- it should say
``curl -s -f'' instead of ``curl -s''.
Daniel, could you please send a fix? (Just run ``darcs send'' on your
(fixed) Darcs repo, it will do The Right Thing.)
Juliusz
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users