storage branch - remaining issues?

Robert Collins robertc at robertcollins.net
Fri Jan 20 00:59:39 GMT 2006


On Thu, 2006-01-19 at 17:52 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> John Arbash Meinel wrote:
> > I thought '..' was not allowed in urls.
> > 
> > I don't really care. I feel like the Transport layer is a nice
> > centralized location where paths go through. Which means they can
> > interpret the path, and everyone else can consider it a voodoo string.
> 
> That is really unhelpful for anyone who wants to manipulate the path.
> 
> > We could make Branch.open* be the conversion point, but if we are that
> > deep, it is only 1 more step to get to Transport, since the first thing
> > open() does is get_transport()
> 
> I've already said I'd be willing to do the convertion in get_transport.
>  I am concerned that this may involve unicode decoding, and if so, we
> don't have enough data to know what encoding the string is in.

safe_unicode is the key here - its what it was written for.

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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060120/e1972a29/attachment.pgp 


More information about the bazaar mailing list