Svn
From DreamsteepWiki
SVN USAGE NOTES
TO CREATE A REPOSITORY
svnadmin create /path/to/repos
TO CHECK IN A PROJECT
svn import -m "messages go here" file:///path/to/code/trunk
TO CHECK OUT A PROJECT
svn co file:///path/to/repos/trunk projectname
TO COMMIT A PROJECT
svn commit -m "this is a revision"
TO UPDATE A PROJECT
svn update /path/to/file/OR/folder
TO DO A DIFF
svn diff
TO LIST ALL FILES THAT ARE MODIFIED
svn status
TO LIST ALL PROJECTS IN REPOSITORY
svn list file:///path/to/repos
TO SEE THE LOG FOR A REPOSITORY
svn log svn+ssh://192.100.0.0/path/to/repos/projectname
TO MOVE A REPOSITORY
Step 1: Backup your old Repository svnadmin dump /path/to/repository > repo_name.svn_dump Step 2: Create the new Repository Now, simply transfer the dump file on to your new subversion server, and create an empty repository: svnadmin create /path/to/repository Step 3: Import your old repository into the new one Next import your dump file: svnadmin load /path/to/repository < repo_name.svn_dump You may want to force subversion to use the same UUID for the new repository as the old repository. To do this add --force-uuid to your svnadmin load command. In my case I wanted to do this. If you have already loaded your repository, there is a way to set the UUID at a later date, check the docs. That's it, you now have a replica of your old repository on your new server.
SVN SERVER/WINDOWS CLIENT WITH TORTOISE SETUP NOTES
SET UP SVN SERVER ON LINUX
yum install httpd subversion mod.dav.svn
go to firewall settings and open port 3690
EDIT CONF IN REPOSITORY
#vi /svnrepos/conf/svnserve.conf anon-access = none auth-access = write password-db = passwd
EDIT USERS/PASSWD
#vi /svnrepos/conf/passwd # add users in the format : user = password keith = mypassword
#to start svnserver svnserv --daemon --root /location of repository
CHECKOUT TO TEST
svn co svn://192.168.1.2/svnrepos/project svn co svn://mithra/svnrepos/project FROM WINDOWS (install svn on windows first) svn co svn+ssh://mithra/repository repositoryname
SETUP SVN CLIENT ON WINDOWS
install svn apache 2 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 apache2.2 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=8100 install tortoise http://tortoisesvn.tigris.org/ add svn/bin to PATH set SVN_EDITOR

