Giovanni Bajo wrote:
> Branko Čibej <brane@xbc.nu> wrote:
>
>
>> Now let's decide about the colour of this bikeshed... I don't like
>> vermilion with pink spots; in
>>
>> svn diff +/branches/foo +/trunk
>>
>> the + doesn't seem obvious enough. We can't use two leading slashes,
>> because that could be a valid UNC path on Windows.
>>
>
> We're speaking of command-line, right? I don't think we can refer to a UNC
> path using two slashes from command-line: the idiomatic way is to use two
> backslashes before the hostname.
>
We're talking about the SVN command line, which will happily convert two
initial slashes to two backslashes and thus create an UNC path.
> I believe that using two leading slashes would be a good solution, for
> Windows. Backslashes are used for local paths, and forward slashes for URLs:
>
Subversion accepts both backslashes and forward slashes for local paths
on Windows. Let's not break that.or make it unintuitive.
> svn diff contrib\client-side\script.sh
> //branches/1.3.x/contrib/client-side/script.sh
>
> [then, one would want to be able to just say //branches/1.3.x, but that's
> for another day].
>
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 23:37:01 2005