Filesystem paths

Martin Pool mbp at sourcefrog.net
Fri Apr 28 08:05:01 BST 2006


On 28/04/2006, at 4:59 PM, Alexander Belchenko wrote:

>>>>> I think we should support them. As in if we see a :, we don't   
>>>>> complain.
>>>>> But internally we should try and be consistent, and | seems to  
>>>>> be  fairly
>>>>> common. (At least it is what urllib uses, which is good enough  
>>>>> for  me).
>>>>
>>>> Windows themselves (MSIE) don't and Mozilla doesn't either,  
>>>> though  they
>>>> both understand that notation.
>>>
>>> Do you mean they don't translate : to |?
>> Yes. Well, MSIE translates file: URLs to paths and understands  
>> both, so
>> one can't really tell which it prefers. And mozilla does not seem to
>> translate either to anything, so after all they seem both equally  
>> valid.
>
> Confirm.

I see svn uses a colon.

http://subversion.tigris.org/faq.html#windows-drive-letter

I really don't see any value in using a | character when generating  
new urls - there is precedent for both, and the colon will be more  
familiar.  Either can be accepted.

-- 
Martin







More information about the bazaar mailing list