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

SVNROOT suggestion - expand '//'

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-10-06 15:57:09 CEST

Sometimes it would indeed be nice to be able to get the same behaviour
as CVSROOT is for CVS in Subversion as well. Mostly adding this
functionality has run into problems with Subversion not separating
between the root of the repository and the latter part - and also the
necessity of distinguishing URL operations from local working copy
operations.

Now, Dave Gilbert on IRC gave a suggestion which seems to be worth
considering - if not as such, atleast as a basis for further
discussion.

What if we said that '//' at the start of a path is expanded to the
contents of the environment variable SVNROOT? For example:

$ export SVNROOT=http://svn.collab.net/repos/svn
$ svn co //trunk svn
$ svn cp //trunk //tags/0.14.4

Now that looks exceedingly clean. There may be horrible problems with
this idea and atleast it's not standard by any means that I know of,
but I thought it could be a nice start for a discussion.

Would this syntax work? Are there better choices? Or is the whole
feature deemed too obscure to implement?

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 6 15:58:01 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.