yoink@tumblr ~ % less 1118721600.txt
Subversion on Dreamhost
here’s a quick little guide to getting subversion up on dreamhost. i got lots of help from here and here. basically, you have to get the source, compile and install, and then create the repository. prepping your account (making a place for the subversion source)
$ cd ~
$ mkdir src
$ cd src
getting the subversion source… and extracting it
$ wget http://subversion.tigris.org/tarballs/subversion-1.1.4.tar.bz2
$ tar -xvjf subversion-1.1.4.tar.bz2
compiling and installing (to your home directory)
$ cd subversion-1.1.4
$ ./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl
$ make
$ make install
setting up the environment
$ PATH=$PATH:~/bin
add the following line to .bashrc to get the paths right
$ vim ~/.bashrc
$ export PATH=$PATH:~/bin
ok… from here, it’s just your usual subversion stuff create a place for your repository
$ svnadmin create ~/svn/test/
import the files you want version controlled to the repository: svn import in this case, I’m in the directory that i want to version control so i left out the first argument and just fed it the url to my repository
$ svn import file:///home/jversoza/svn/test/
then to checkout:
$ svn co <url to your repository>
$ svn co svn+ssh://jversoza@jvers.com/home/jversoza/svn/test
finally, checking in and updating:
$ svn ci
$ svn update
…when you’re in the working directory for help, use
$ svn help <command... like import, co or update>