[darcs-users] Re: get/pull with cookie?

Mark Stosberg mark at summersault.com
Thu Aug 17 01:33:00 UTC 2006


Paul Chiusano wrote:
> Is it possible for get/pull to use a cookie, or more generally, have
> more control over the http request that gets sent when doing a get or
> pull? I'd like to be able to just authenticate users via the browser,
> then have darcs use the returned cookie when doing get/pulls.
> 
> Alternately, is there some way to get darcs to respond to a '401
> Authentication Required' header by querying the user for a username
> and password?

This should work:

darcs pull http://user:pass@host.com

Since darcs will remember the repo address by default, next time you
can do just 'darcs pull', as normal.

    Mark





More information about the darcs-users mailing list