Checkouts of basic auth https:// URL requires svn+ prefix

Bug #257438 reported by Walter Mundt
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

On 1.4rc1 with bzr 1.6rc1:

Given a Subversion repository accessed over authenticated https, the following behavior is encountered:

$ bzr co https://server/repos/url work
bzr: ERROR: Invalid http response for https://server/repos/url/.bzr/branch-format: Unable to handle http code 401: Authorization Required

With the svn+ prefix:

$ bzr co svn+https://server/repos/url oksrc
The svn+ syntax is deprecated, use https://server/repos/url instead.
...and then this seems to work.

I just installed bzr and bzr-svn to play with recently, and can't be certain this isn't an issue with my installation or its configuration. However, bug reports on this issue were specifically requested, so here goes.

description: updated
Revision history for this message
epg (epg) wrote :

I see this, too, and I don't think it's a local configuration issue. It looks like some normal part of bzr tries to access the URL before handing it over to bzr-svn, and that part is being confused by the 401. Prefixing the URL with svn+ forces handling to go directly to bzr-svn, bypassing the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.