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

Re: CVSROOT type functionality?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-08-31 06:50:11 CEST

On Fri, Aug 30, 2002 at 06:11:11PM -0700, Robert W Anderson wrote:
>
> Is there some mechanism for a default URL, analogous to CVSROOT?
>
> If I only have one repo, it would be nice to only have to specify it
> once and for all in some manner.

Oh... you mean an *environment variable* named CVSROOT. I was awfully
confused until I figured that out. Thought you were talking about the
directory named CVSROOT...

No, there is nothing equivalent. However, like CVS, once you check out a
working copy, you won't need the URL again. But if you're checking out lots
of working copies... well :-)

I would suggest something like:

$ export REPOS=http://repos.example.com/repos/project
$ svn co $REPOS/trunk
$ svn co $REPOS/branches/rwa

That will at least minimize your typing.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 31 06:45:17 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.