bzr-svn incorrectly reports "no repository present"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
bzr 1.1 on Python 2.4 on MacOSX, Subversion 1.4.6 (patched), using bzr-svn from http://
bzr-svn is wrongly identifying a Subversion repository as not being a repository.
$ bzr svn-branching-
bzr: ERROR: No repository present: "svn+https:/
I get the same result if I use the native Python 2.5.1 with Subversion 1.5 trunk.
I've included version identification, followed by the .bzr.log, followed by the HTTP headers and bodies dumped when setting the Subversion neon-debug-
$ bzr version
Bazaar (bzr) 1.1.0
Python interpreter: /usr/pkg/
Python standard library: /usr/pkg/
bzrlib: /usr/pkg/
Bazaar configuration: /Users/bsd/.bazaar
Bazaar log file: /Users/bsd/.bzr.log
Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
$ bzr plugins
/Users/
Support for Subversion branches
/usr/pkg/
Implementation of multiparent diffs for versionedfile-like storage
/usr/pkg/
Launchpad.net integration plugin for Bazaar.
~/.bzr.log
-------
bzr arguments: [u'svn-
looking for plugins in /Users/
looking for plugins in /usr/pkg/
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as sys.stdin encoding 'UTF-8'
Traceback (most recent call last):
File "/usr/pkg/
return run_bzr(argv)
File "/usr/pkg/
ret = run(*run_argv)
File "/usr/pkg/
return self.run(
File "/Users/
repos = Repository.
File "/usr/pkg/
return control.
File "/Users/
raise NoSvnRepository
NoSvnRepository
return code 3
-------
HTTP headers and bodies with neon-debug-mask=130
-------
Doing DNS lookup on papyrus.usask.ca...
Running pre_send hooks
compress: Initialization.
compress: Initialization.
Sending request headers:
PROPFIND /svn/dept/gt HTTP/1.1
Host: papyrus.usask.ca
User-Agent: SVN/1.4.6 (r28521) neon/0.26.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Accept-Encoding: gzip
Accept-Encoding: gzip
Sending request-line and headers:
Connecting to 128.233.101.20
Sending request body:
Body block (300 bytes):
[<?xml version="1.0" encoding=
Request sent; retry is 0.
[status-line] < HTTP/1.1 401 Authorization Required
[hdr] Date: Fri, 08 Feb 2008 23:40:33 GMT
Header Name: [date], Value: [Fri, 08 Feb 2008 23:40:33 GMT]
[hdr] Server: Apache/2.2.4 (Mandriva Linux/PREFORK-
Header Name: [server], Value: [Apache/2.2.4 (Mandriva Linux/PREFORK-
[hdr] WWW-Authenticate: Basic realm="CMPT Subversion Repository"
Header Name: [www-authenticate], Value: [Basic realm="CMPT Subversion Repository"]
[hdr] Vary: accept-
Header Name: [vary], Value: [accept-
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Keep-Alive: timeout=5, max=100
Header Name: [keep-alive], Value: [timeout=5, max=100]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
[chunk] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
[chunk] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[ISO-8859-1]
Reading 165 bytes of response body.
Got 165 bytes.
Read block (165 bytes):
["?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://
<html xmlns="http://
[chunk] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 2 bytes.
Read block (2 bytes):
[en]
Reading 12 bytes of response body.
Got 12 bytes.
Read block (12 bytes):
[" xml:lang="]
[chunk] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 2 bytes.
Read block (2 bytes):
[en]
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[">
<head>
<title>]
[chunk] < 3f
Got chunk size: 63
Reading 63 bytes of response body.
Got 24 bytes.
Read block (24 bytes):
[Authentication required!]
Reading 39 bytes of response body.
Got 39 bytes.
Read block (39 bytes):
[</title>
<link rev="made" href="mailto:]
[chunk] < 107
Got chunk size: 263
Reading 263 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[root@localhost]
Reading 249 bytes of response body.
Got 249 bytes.
Read block (249 bytes):
[" />
<style type="text/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>
<body>
<h1>]
[chunk] < 22
Got chunk size: 34
Reading 34 bytes of response body.
Got 24 bytes.
Read block (24 bytes):
[Authentication required!]
Reading 10 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[</h1>
<p>
]
[chunk] < 52
Got chunk size: 82
Reading 82 bytes of response body.
Got 82 bytes.
Read block (82 bytes):
[
This server could not verify that you are authorized to access
the URL "]
[chunk] < a5
Got chunk size: 165
Reading 165 bytes of response body.
Got 12 bytes.
Read block (12 bytes):
[/svn/dept/gt]
Reading 153 bytes of response body.
Got 153 bytes.
Read block (153 bytes):
[".
You either supplied the wrong credentials (e.g., bad password), or your
browser doesn't understand how to supply the credentials required.
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 72
Got chunk size: 114
Reading 114 bytes of response body.
Got 114 bytes.
Read block (114 bytes):
[
In case you are allowed to request the document, please
check your user-id and password and try again.
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
[chunk] < 1f
Got chunk size: 31
Reading 31 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[root@localhost]
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[">webmaster</a>.
]
[chunk] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>
<h2>Error ]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 3 bytes.
Read block (3 bytes):
[401]
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[</h2>
<address>
<a href="/">]
[chunk] < 23
Got chunk size: 35
Reading 35 bytes of response body.
Got 16 bytes.
Read block (16 bytes):
[papyrus.usask.ca]
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[</a><br />
<span>]
[chunk] < 55
Got chunk size: 85
Reading 85 bytes of response body.
Got 50 bytes.
Read block (50 bytes):
[Apache/2.2.4 (Mandriva Linux/PREFORK-
Reading 35 bytes of response body.
Got 35 bytes.
Read block (35 bytes):
[</span>
</address>
</body>
</html>
]
[chunk] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
Running pre_send hooks
compress: Initialization.
compress: Initialization.
Sending request headers:
PROPFIND /svn/dept/gt HTTP/1.1
Host: papyrus.usask.ca
User-Agent: SVN/1.4.6 (r28521) neon/0.26.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: xxxxxxxxxxxxxxx
Sending request-line and headers:
Sending request body:
Body block (300 bytes):
[<?xml version="1.0" encoding=
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Fri, 08 Feb 2008 23:40:33 GMT
Header Name: [date], Value: [Fri, 08 Feb 2008 23:40:33 GMT]
[hdr] Server: Apache/2.2.4 (Mandriva Linux/PREFORK-
Header Name: [server], Value: [Apache/2.2.4 (Mandriva Linux/PREFORK-
[hdr] Content-Length: 680
Header Name: [content-length], Value: [680]
[hdr] Keep-Alive: timeout=5, max=99
Header Name: [keep-alive], Value: [timeout=5, max=99]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 680 bytes of response body.
Got 680 bytes.
Read block (680 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns1="http://
<D:response xmlns:lp1="DAV:" xmlns:lp3="http://
<D:href>
<D:propstat>
<D:prop>
<lp1:version-
<lp1:resourcety
<lp3:baseline-
<lp3:repository
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Running pre_send hooks
compress: Initialization.
compress: Initialization.
Sending request headers:
PROPFIND /svn/dept/
Host: papyrus.usask.ca
User-Agent: SVN/1.4.6 (r28521) neon/0.26.3
Connection: TE
TE: trailers
Content-Length: 111
Content-Type: text/xml
Depth: 0
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: xxxxxxxxxxxxxxx
Sending request-line and headers:
Sending request body:
Body block (111 bytes):
[<?xml version="1.0" encoding=
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Fri, 08 Feb 2008 23:40:33 GMT
Header Name: [date], Value: [Fri, 08 Feb 2008 23:40:33 GMT]
[hdr] Server: Apache/2.2.4 (Mandriva Linux/PREFORK-
Header Name: [server], Value: [Apache/2.2.4 (Mandriva Linux/PREFORK-
[hdr] Content-Length: 401
Header Name: [content-length], Value: [401]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 401 bytes of response body.
Got 401 bytes.
Read block (401 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:" xmlns:lp3="http://
<D:href>
<D:propstat>
<D:prop>
<lp1:checked-
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Running pre_send hooks
compress: Initialization.
compress: Initialization.
Sending request headers:
PROPFIND /svn/dept/
Host: papyrus.usask.ca
User-Agent: SVN/1.4.6 (r28521) neon/0.26.3
Connection: TE
TE: trailers
Content-Length: 148
Content-Type: text/xml
Depth: 0
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: xxxxxxxxxxxxxxx
Sending request-line and headers:
Sending request body:
Body block (148 bytes):
[<?xml version="1.0" encoding=
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Fri, 08 Feb 2008 23:40:33 GMT
Header Name: [date], Value: [Fri, 08 Feb 2008 23:40:33 GMT]
[hdr] Server: Apache/2.2.4 (Mandriva Linux/PREFORK-
Header Name: [server], Value: [Apache/2.2.4 (Mandriva Linux/PREFORK-
[hdr] Content-Length: 458
Header Name: [content-length], Value: [458]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 458 bytes of response body.
Got 458 bytes.
Read block (458 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:" xmlns:lp3="http://
<D:href>
<D:propstat>
<D:prop>
<lp1:baseline-
<lp1:version-
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
bzr: ERROR: No repository present: "svn+https:/
ne_session_destroy called.
ne_session_destroy called.
-------
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
The http support of the 0.4 branch is broken at the moment. It appears to have regressed, partially because it is impossible to write tests for it.