[BUG] RemoteBranch seems broken under Windows

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jun 21 01:23:32 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When I do
\Python24\python bzr branch http://bazaar-ng.org/bzr/bzr.dev

under Win2k, I get:

bzr: [Errno 4] IOError: HTTP Error 404: Date: Tue, 21 Jun 2005 00:08:07 GMT
Server: Apache/2.0.53 (Ubuntu) PHP/4.3.10-10ubuntu4
Content-Length: 229
Content-Type: text/html; charset=iso-8859-1
~  at D:\bzr-0.0.5\bzr-0.0.5\urlgrabber\grabber.py:896 in _make_request()
~  see ~/.bzr.log for debug information

Somehow, along the way, the URL gets encoded:

[360]  D:\bzr-0.0.5\bzr-0.0.5\urlgrabber\grabber.py in
urlopen(url=u'http://bazaar-ng.org/bzr/bzr.dev/.bzr/branch-format',
**kwargs={'close_connection': 0, 'keepalive': 1})
[360]   442     See module documentation for a description of possible
kwargs.
[360]   443     """
[360]   444     return default_grabber.urlopen(url, **kwargs)
[360]   445
[360]   446 def urlread(url, limit=None, **kwargs):
[360] global default_grabber = <urlgrabber.grabber.URLGrabber instance>
[360] default_grabber.urlopen = <bound method URLGrabber.urlopen of
<urlgrabber.grabber.URLGrabber instance>>
[360] url = u'http://bazaar-ng.org/bzr/bzr.dev/.bzr/branch-format'
[360] kwargs = {'close_connection': 0, 'keepalive': 1}
[360]
[360]  D:\bzr-0.0.5\bzr-0.0.5\urlgrabber\grabber.py in
urlopen(self=<urlgrabber.grabber.URLGrabber instance>,
url=u'http://bazaar-ng.org/%5Cbzr%5Cbzr.dev%5C.bzr%5Cbranch-format',
**kwargs={'close_connection': 0, 'keepalive': 1})

HTH,

Aaron

- --
Aaron Bentley
www.aaronbentley.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCt14E0F+nu1YWqI0RAldkAJ9M5Y0W7bLtEI4hqBWVGfAfC1KhoACeIvkq
9rD1JsIpa4sW0vzAtd/m1Rs=
=3aQ8
-----END PGP SIGNATURE-----




More information about the bazaar mailing list