Vincent Lefevre wrote:
> On 2006-02-02 08:34:49 +0100, Branko Čibej wrote:
>
>> Julian Foad wrote:
>>
>>> I'm not sure which of two things you mean:
>>>
>>> (a) MS-Windows (and others?) don't like a trailing (back)slash on
>>> directory name parameters to most commands. If that's the case, we
>>> should avoid printing one when printing a local path on those
>>> operating systems.
>>>
>>> (b) Slashes should be backslashes in local paths on MS-Windows.
>>>
>> Both. It's not just trailing backslashes, since the output has relative
>> paths, not just file names. And as Garrett pointed out in another post,
>> "svn ls" just appends a hardcoded '/' to directory names -- which I
>> believe is broken, so we shouldn't be blindly following that example
>> here. :)
>>
>
> I hope you mean "is broken *under MS Windows*", because I use the
> trailing-slash feature under Unix in my scripts to filter out the
> directories with "grep -v '/$'" in shell pipelines.
>
I mean that appending a hard-coded slash to a path is broken, period. We
have platform-specific defined constants for the path separator.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 2 15:48:17 2006