[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Auto-subst of repository roots (was Re: svn diff branch woprking copy against mainline?)

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2005-11-03 13:37:29 CET

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.

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:

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].

-- 
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 13:38:37 2005

This is an archived mail posted to the Subversion Dev mailing list.