how to svn

adduser to svn server

 htpasswd /etc/apache2/dav_svn.passwd matthew

create a NEW repository, you log into lm1
 su www-data
 cd /var/lib/svn
 svnadmin create nameofrepo

setup svn on client
 apt-get install svn

import site into svn
 /var/www/sites/drupaladmin.net# svn import htdocs http://66.146.206.200/svn/drupaladmin.net/ -m "initial import"

local laptop check out site
 svn checkout http://66.146.206.200/svn/drupaladmin.net/

when changing code, run svn update first to grab freshest files.
 svn update

edit a file (example TEST)
 pico TEST

commit the edited TEST file into version repository
 svn commit

revert back to a specifc revision of a file
svn update -r2 TEST