[merge] allow 'bzr branch' even if parent is not accessible
John Arbash Meinel
john at arbash-meinel.com
Tue Aug 1 18:37:45 BST 2006
Wouter van Heyst wrote:
> On Tue, Aug 01, 2006 at 09:32:52AM -0500, John Arbash Meinel wrote:
>
> ...
>
>> I suppose you could argue that 'copy_content_into' could fall back to
>> using the relative path, so if it could not resolve the absolute path,
>> it would save the raw path, and give you
>> "../../../../home/username/mybranch'.
>
> I agree entirely with the analysis, but am not sure about the fix. Is
> there _any_ case where we want to know an InvalidUrlJoin happened,
> instead of just returning other? I can't see one.
>
> Wouter van Heyst
My fix was to raise InaccessibleParent. (and copy_content_into catches
that, and ignores it). Are you thinking to return the relative path?
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060801/193c5052/attachment.pgp
More information about the bazaar
mailing list