Linked by Eugenia Loli on Tue 12th Sep 2006 01:35 UTC
Thread beginning with comment 161438
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
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.
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




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.