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

Re: Environmental variable for path to repository?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-03 22:53:15 CET

On Mar 3, 2006, at 21:29, Steve Kargl wrote:

> I am considering the conversion of several of my projects
> under CVS control to SVN. With CVS, I set the CVSROOT
> environmental variable to /long/path/to/my/directory/CVS.
> Under CVSROOT, I have project A, B, C, and D. To work
> on project B, I often move into the $HOME/prj directory
> and issue the CVS command "cvs checkout B". This command
> will automatically look in CVSROOT for project B. Is
> there an equivalent to CVSROOT in subversion?
>
> I would like to do
>
> mkdir $HOME/path/to/SVN
> setenv SVNROOT $HOME/path/to/SVN
> svnadmin create A
>
> where A shows up in $HOME/path/to/SVN.

Subversion doesn't have any such support built-in, but you can do it
yourself on the shell.

export S=$HOME/path/to/SVN
mkdir $S
svnadmin create $S/A
cd $HOME/prj
svn checkout $S/A

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 3 22:55:10 2006

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

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