[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 23:30:17 CET

On Mar 3, 2006, at 23:15, Steve Kargl wrote:

>> 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
>
> Having to explicitly give an environmental variable on the
> command line for each svn command, kind of defeats the whole
> purpose of such variables.

It's not for every svn command, of course. Just a few. Creating a
repository, checking out a working copy, merging. Most of them,
though, like checking in, updating, getting a diff or a log, all
operate on the repository URL stored in your working copy.

---------------------------------------------------------------------
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:33:03 2006

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