Hello,

I tried to get http authentification to 'darcs get' by setting DARCS_GET_HTTP to 'curl -s -u username:password'. It works.

However when I try to 'darcs pull' with this variable setting I get the following :

> darcs pull

darcs failed: Can't understand repo format: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[...]
Can't understand repo format: <p>The requested URL /~dbuenzli/test/ _darcs/format was not found on this server.</p>

Indeed there is no such file in the repo, nor is such a file mentionned in the DarcsRepo format described in the Appendix B of the manual. Is that a bug ? I could also reproduce this with the darcs repository (see below). I'm using version 1.0.4 on MacOS 10.4.3.

Besides there doesn't seem to be a way to set DARCS_GET_HTTP on a per repository basis, is that right ? Is there maybe a different way to get http authentification on a per repository basis ?

Thanks for your answers,

Daniel

-----

> export DARCS_GET_HTTP='curl -s'
> darcs get http://www.abridgegame.org/repos/darcs
> cd darcs
> darcs pull

darcs failed: Can't understand repo format: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[...]
Can't understand repo format: The requested URL /repos/darcs/_darcs/ format was not found on this server.<P>
[...]

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to