HTTP(s) authorisation only supported from the console??
John Rice
John.Rice at Sun.COM
Wed Dec 12 16:52:41 UTC 2007
Thanks Patrick that's working fine for HTTP. Turns out our plugin was
failing due to a verification check on the URL where we try and do a
HttpURLConnection con.getResponse() and it gives us back -1 from the
repo URL.
What we'd really like would be able to do a hg clone --test .......
which justs test to see if we'd be able to do the clone before we
actually do it.
JR
Patrick Mézard wrote:
> John Rice a écrit :
>
>> Both CVS and SVN support the
>> passing of username and password to access their repos.
>>
>> JR
>>
>> http://wiki.netbeans.info/wiki/view/MercurialVersionControl
>>
>> Looking at Push URL supported spec, only see way to add username to URL:
>> Valid URLs are of the form:
>> local/filesystem/path (or file://local/filesystem/path)
>> ssh://[user@]host[:port]/[path]
>> http://[user@]host[:port]/[path]
>> https://[user@]host[:port]/[path]
>>
>
> You can pass a password in HTTP URL like:
>
> http://[user[:password]@]host[:port]/[path]
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list