Linked by Eugenia Loli on Tue 12th Sep 2006 01:35 UTC
General Development This is a feature release of Subversion, featuring BDB 4.4 and repository auto-recovery support, a new tool for synchronizing repositories (svnsync), major speed enhancements in the versioned filesystem and the working copy, and of course the usual host of bugfixes and minor enhancements. Additionally, check this article on how to Set up Subversion and websvn on Debian.
Thread beginning with comment 161438
To read all comments associated with this story, please click here.
Stupid question...
by kernelpanicked on Tue 12th Sep 2006 02:17 UTC
kernelpanicked
Member since:
2006-02-01

for those of you who are already familiar with subversion. Is there not an equivalent to the CVSROOT environment variable in subversion? I do plan to get up close and personal with subversion. Maybe, possibly one day, when cvs stops doing what I need, but I can't imagine having to type an entire URL+/path/to/repo for every single import or commit.

Reply Score: 1

RE: Stupid question...
by lucas on Tue 12th Sep 2006 03:05 in reply to "Stupid question..."
lucas Member since:
2005-07-08

to commit i type:
svn ci

to add files i type:
svn add blah.ext

to update:
svn up

the only time I have to type url+path is the inital checkout. thats basically once ever

Reply Parent Score: 1

RE: Stupid question...
by Kaali on Tue 12th Sep 2006 05:54 in reply to "Stupid question..."
Kaali Member since:
2005-12-22

Sure you can make an environment variable like CVSROOT by yourself.

In bash:
export SVNROOT=/path/to/svnroot/

And then user:
svn ls $SVNROOT
svn co $SVNROOT/project/trunk
etc..

And add the SVNROOT define to your .bashrc for it to be available on the next login too. But as the others said, you don't need to use the path after you have checked out, but when accessing the repository this is a neat shortcut.

Reply Parent Score: 1

RE: Stupid question...
by michuk on Tue 12th Sep 2006 11:15 in reply to "Stupid question..."
michuk Member since:
2006-08-08

kernelpanicked: Take a look at the howto http://polishlinux.org/apps/subversion-howto/ (linked on osnews some time ago) - all the important svn commands are described there. If you used CVS, using SVN is very similar so you shouldn't have major problems.

Edited 2006-09-12 11:16

Reply Parent Score: 2