storage branch - remaining issues?

Robert Collins robertc at robertcollins.net
Thu Jan 19 22:04:01 GMT 2006


On Thu, 2006-01-19 at 10:53 -0600, John A Meinel wrote:

> Other than having the logic about how to decode a string (whether it is
> a url, or a path) in another place, which then needs to be used
> everywhere we might get a path.
> 
> For example, I don't think '.' is a valid url. Which means if we want
> urls everywhere, then 'Branch.open_containing()' shouldn't be passed '.'.

As Denys says, '.' is valid, as is '..' and 'foo%14'. u'foo\x14' is not
a valid URL though.

They are valid because we have an absolute URL we can interpret them
with respect to - the os's current working directory converted to a URL.

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/11c82b69/attachment.pgp 


More information about the bazaar mailing list