Comment 4 for bug 532292

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 532292] Re: Doesn't get user/password details from authentication.conf

On Fri, 2010-03-05 at 00:01 +0000, David Coles wrote:
> Looks like the issue is in create_auth_baton. When it calls `(scheme,
> netloc, path, _, _) = urlparse.urlsplit(url)`, netloc ends up being ''
> and path is '//<email address hidden>/svn/trunk/'. The
> urlparse.urlsplit function doesn't like 'svn+https' being passed to it -
> in urllib there's a 'uses_netloc' variable which determines if a url
> should be split into a netloc (which has things like 'http', 'svn',
> 'svn+https' etc.). So, either need to split the url ourselves or snip
> off the 'svn+' prefix.

urlparse.urlsplit turned out to not support 'svn+http' or 'svn+https' as
a schema.

  status fixreleased