[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: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: 2006-03-03 23:44:15 CET

On Fri, Mar 03, 2006 at 05:30:05PM -0500, Frank Gruman wrote:
> Steve Kargl wrote:
> >On Fri, Mar 03, 2006 at 10:53:15PM +0100, Ryan Schmidt wrote:
> >
> >>export S=$HOME/path/to/SVN
> >>mkdir $S
> >>svnadmin create $S/A
> >>cd $HOME/prj
> >>svn checkout $S/A
> >>
> >
> >Having to explicitly give an environmental variable on the
> >command line for each svn command, kind of defeats the whole
> >purpose of such variables.
> >
> >
> I disagree. You could theoretically have different variables pointing
> to different repositories with various working copies on your computer.
>
> For example - I have 3 separate working copies attached to 3 separate
> repositories. The first is our code server, the second is a completely
> separate repository for documents, and the third is my own personal code
> server that I have hosted from home. SO - in the CVS world, what would
> I set my CVSROOT to? Given Ryan's response, I could create
> $CODE/project/path, $DOCS/project/path, and $HOME/project/path.
>

It is clear that you and I have a different idea on what a repository
is. To me, a repository contains independent projects. To you, each
independent project has its own repository.

-- 
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 3 23:45:44 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.