[merge] fix bug 59835

Robert Collins robertc at robertcollins.net
Mon Sep 11 23:55:08 BST 2006


On Mon, 2006-09-11 at 11:33 -0500, John Arbash Meinel wrote:
> Vincent Ladeuil wrote a patch to help with this bug:
> https://launchpad.net/products/bzr/+bug/59835
> 
> It seems reasonable to bring it in. I'm not sure that there is much we
> can do for testing. I think it is 'has()' with an incorrect host. (so it
> is actually a ConnectionError).
> 
> IIRC it only happens with Weave formats, because they use 'has()' for
> some of the repository copying code (because if not has() then copy the
> weave directly, else Weave.join()).
> 
> Knits don't run into this problem, but it should still be fixed.
> 
> The only thing I might change with the patch is trying to actually
> interpret the URL error, and raise either a
> TransportError/ConnectionError/etc. But that requires some testing to
> figure out what errors we are actually getting, and how they can be
> interpreted.
> 
> I would be fine just bringing this in as is, because it at least lets us
> start getting real errors, rather than bogus AttributeError.

+0.9 as is, +1 with a test to break the old code.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060912/f41f0e6c/attachment.pgp 


More information about the bazaar mailing list