Can bzr-svn handle http code 401?
bzr branch http://
bzr: ERROR: Invalid http response for http://
Can bzr-svn handle http code 401?
If yes, starting from which version?
Thanx, in advance,
-Eddy
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jelmer Vernooij
- Solved:
- 2007-08-13
- Last query:
- 2007-08-13
- Last reply:
- 2007-08-11
|
|
#1 |
This error actually happens before bzr-svn is used at all and comes from bzr.
Please try adding the prefix 'svn+' to the url.
| Eddy Mulyono (eddymul) said : | #2 |
Thanks Jelmer Vernooij, that solved my question.
Worked for me too. Thank you.
| Michal Golunski (migol-pl) said : | #4 |
I found one thing about it. When i use svn+http:// i get message that this is obsolete. If I use http:// only, I cannot checkout SVN repository.
| Jelmer Vernooij (jelmer) said : | #5 |
On Sat, 2009-01-31 at 17:16 +0000, Michal Golunski wrote:
> Question #11299 on Bazaar Subversion Plugin changed:
> https:/
>
> Michal Golunski posted a new comment:
> I found one thing about it. When i use svn+http:// i get message that
> this is obsolete. If I use http:// only, I cannot checkout SVN
> repository.
Can you be more specific? What error do you get if you use "http://" only?
Cheers,
Jelmer
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>
| David Strauss (davidstrauss) said : | #6 |
"The svn+ syntax is deprecated, use https:/
| Jesús García Sáez (blaxter) said : | #7 |
I have had the same problem with the same solution, but the funny thing that Michal said is this:
$ bzr checkout https:/
bzr: ERROR: Invalid http response for https:/
$ bzr checkout svn+https:/
The svn+ syntax is deprecated, use https:/
Initialising Subversion metadata cache (....)
Hi,
i have similar problem, but svn+http not works:
$ bzr checkout http://<url> <name>
bzr: ERROR: Invalid http response for http://<url>/.
$ bzr checkout svn+http://<url> <name>
bzr: ERROR: Unsupported protocol for url "svn+http://<url>"
Environment: Ubuntu 9.04, bzr 1.13.1-1, bzr-svn 0.5.3-1.
I also made some experiments with bzr-eclipse and installed bzr-xmloutput 0.8.3.
| Jelmer Vernooij (jelmer) said : | #9 |
<email address hidden> wrote:
> Question #11299 on Bazaar Subversion Plugin changed:
> https:/
>
> <email address hidden> posted a new comment:
> Hi,
> i have similar problem, but svn+http not works:
> $ bzr checkout http://<url> <name>
> bzr: ERROR: Invalid http response for http://<url>/.
> $ bzr checkout svn+http://<url> <name>
> bzr: ERROR: Unsupported protocol for url "svn+http://<url>"
>
> Environment: Ubuntu 9.04, bzr 1.13.1-1, bzr-svn 0.5.3-1.
> I also made some experiments with bzr-eclipse and installed bzr-xmloutput 0.8.3.
It looks like you don't have bzr-svn installed. Does "bzr plugins" list it?
bzr-svn 0.6.x should handle the 401 issue without problems.
Cheers,
Jelmer
| Seth (bugs-sehe) said : | #10 |
Ermm Jelmer I think this is actually a problem.
I'm trying to use bzr-svn on bzr 2.0 Win32 (standalone installer).
using http://... gives 401 error (after oodles of time)
using svn+http://... gives the dreaded 'unsupported protocol'
Env: Windows
>bzr version
Bazaar (bzr) 2.0.1
Python interpreter: C:\Program Files (x86)\Bazaar\
Python standard library: C:\Program Files (x86)\Bazaar\
Platform: Windows-
bzrlib: C:\Program Files (x86)\Bazaar\
Bazaar configuration: C:\Users\
Bazaar log file: C:\Users\
>bzr plugins -v
bzrtools 2.0.1
Various useful commands for working with bzr.
C:\Program Files (x86)\Bazaar\
explorer 0.8.3
Version Control for Human Beings.
C:\Program Files (x86)\Bazaar\
launchpad 2.0.1
Launchpad.net integration plugin for Bazaar.
C:\Program Files (x86)\Bazaar\
netrc_credentia
Use ~/.netrc as a credential store for authentication.
C:\Program Files (x86)\Bazaar\
qbzr 0.14.4
QBzr - Qt-based frontend for Bazaar
C:\Program Files (x86)\Bazaar\
rebase 0.5.4
Rebase support.
C:\Program Files (x86)\Bazaar\
svn 1.0.0
Support for Subversion branches
C:\Program Files (x86)\Bazaar\
upload 1.0.0dev
Upload a working tree, incrementally.
C:\Program Files (x86)\Bazaar\
xmloutput 0.8.5
This plugin provides xml output for status, log, annotate, missing, info,
C:\Program Files (x86)\Bazaar\
So it really appears to not work simply because of obsoleted url syntax.
| Jelmer Vernooij (jelmer) said : | #11 |
On Wed, 2009-11-11 at 20:50 +0000, Seth wrote:
> Question #11299 on Bazaar Subversion Plugin changed:
> https:/
>
> Seth posted a new comment:
> Ermm Jelmer I think this is actually a problem.
>
> I'm trying to use bzr-svn on bzr 2.0 Win32 (standalone installer).
>
> using http://... gives 401 error (after oodles of time)
> using svn+http://... gives the dreaded 'unsupported protocol'
There shouldn't be any need to use svn+http:// *unless* you have pycurl
installed (I don't know from memory if this is the case with the
standalone win32 installer, and I don't have net access at the moment).
However, svn+http:// should work in any case. If it doesn't, this
suggests that bzr-svn is not at all installed or enabled. Do operations
against other svn URLs work?
Cheers,
Jelmer
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>
| Seth (bugs-sehe) said : | #12 |
Jelmer Vernooij wrote:
> Question #11299 on Bazaar Subversion Plugin changed:
> https:/
>
> Jelmer Vernooij posted a new comment:
> On Wed, 2009-11-11 at 20:50 +0000, Seth wrote:
>
>> Question #11299 on Bazaar Subversion Plugin changed:
>> https:/
>>
>> Seth posted a new comment:
>> Ermm Jelmer I think this is actually a problem.
>>
>> I'm trying to use bzr-svn on bzr 2.0 Win32 (standalone installer).
>>
>> using http://... gives 401 error (after oodles of time)
>> using svn+http://... gives the dreaded 'unsupported protocol'
>>
> There shouldn't be any need to use svn+http:// *unless* you have pycurl
> installed (I don't know from memory if this is the case with the
> standalone win32 installer, and I don't have net access at the moment).
>
I don't know how to find out, sorry.
> However, svn+http:// should work in any case. If it doesn't, this
> suggests that bzr-svn is not at all installed or enabled.
Well it is clearly installed according to the output of the commands I
posted
> Do operations
> against other svn URLs work?
>
I'll have a look tomorrow.
> Cheers,
>
> Jelmer
>
>
>
