[Pkg-bazaar-maint] Bug#435110: Fwd: Bug#435110: "bzr branches" doesn't work with http:// URLs

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jul 30 14:26:56 UTC 2007


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

Adeodato Simó wrote:
> Hello Aaron.
> 
> I can confirm the attached bug report, that `bzr branches` does not seem
> to work with http:// URLs. I digged a bit in the source, and as far as I
> can see the problem is that the t.get('.') line in apache_ls() raises a
> RedirectRequested exception, which is silently swallowed in iter_bzrdirs().

I remember that t.get('.'), or maybe t.get(''), was broken at some
point.  These days I split the URL into dirname and basename, and do
get_transport(dirname).get(basename).  Dunno if that will fix it.


> So two issues here, as I understand it:
> 
>   1. `bzr branch` is not robust against redirections
>   2. transport code seems to be silently ignoring one trailing slash in URLs

Thanks for the report.  I've added it to the bzrtools bug tracker.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrfUw0F+nu1YWqI0RAtnkAJ9NqKJjzEpdX9gA9bAlw0fUoQXEuQCeOI8U
tsFWQa8+PPNfMN/PIx5LTIo=
=C3or
-----END PGP SIGNATURE-----




More information about the Pkg-bazaar-maint mailing list