Path separator

Jelmer Vernooij jelmer at vernstok.nl
Sat Oct 29 01:19:09 BST 2005


On Fri, Oct 28, 2005 at 05:25:54PM -0500, John A Meinel wrote about 'Path separator':
> I'm trying to go through the code and do some cleanup stuff for windows.
> One of the things I'm trying to do is update the path code so that it
> always uses forward slashes internally.
> Part of this is Robert's desire that all paths internally are considered
> url encoded.
> The issue is that when you finally get down to printing a path, the only
> paths that should be switched to '\' are local paths.
> Because you don't want to change remote paths
> (http:\\bazaar-ng.org\bzr\bzr.dev)
Can this perhaps be handled by the transport ? E.g. something like adding a 
'display()' function to bzrlib.transport that doesn't do anything for http and 
sftp but that converts '/' back to os.sep for local.

Just my E 0.02,

Cheers,

Jelemr

-- 
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
 02:16:45 up 7 days, 14:21,  3 users,  load average: 0.19, 0.09, 0.08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051029/6449a661/attachment.pgp 


More information about the bazaar mailing list