Subversion
From Wikiturbine
This page is to provide users information of our subversion server, where the repositories are located, how to use them, etc... and mainly so i can keep my own notes as I go along. -stiv2k
Contents |
[edit] There are two methods to use our svn server
[edit] svn over SSH method [DEPRECATED]
- NOTE: It is probably a waste of time to try to use this method as you are likely to get a 'Permission Denied' error, read about the HTTP method described below.
- to use this, you must have a shell account on my server and be a member of the 'subversion' group.
- Checking Out
steve@trillian:~/temp$ svn checkout svn+ssh://websvn.neoturbine.net/var/svn-repos/project_resurrection . A trunkls A trunkls/testing.txt A trunk A trunk/testing.txt Checked out revision 2. steve@trillian:~/temp$
- Committing
steve@trillian:~/temp/trunk$ svn commit testing.txt -m "Edited testing.txt" Sending testing.txt Transmitting file data . Committed revision 3. steve@trillian:~/temp/trunk$
[edit] svn over HTTP [WITHOUT SSL] -using mod_dav, an apache module
- Folks over at #apache say you can't use SSL with multiple name-based hosts... can anyone confirm?
- For those who don't have a shell account, use this, but in order to commit you will need to know a username and pass... message me for more info.
- Checking out
steve@trillian:~/temp$ svn checkout http://websvn.neoturbine.net/dav/project_resurrection . A trunkls A trunkls/testing.txt A trunk A trunk/testing.txt Checked out revision 2. steve@trillian:~/temp$
- Committing
steve@trillian:~/temp/project_resurrection$ svn commit Log message unchanged or not specified a)bort, c)ontinue, e)dit c Authentication realm: <http://websvn.neoturbine.net:80> Subversion Repository Password for 'steve': Authentication realm: <http://websvn.neoturbine.net:80> Subversion Repository Username: neostaff Password for 'neostaff': Sending index.php Transmitting file data . Committed revision 5. steve@trillian:~/temp/project_resurrection$
- Users can also publicly view the repositories with websvn, see http://websvn.neoturbine.net
[edit] Getting the latest revision
eli@bird ~ $ cd project_resurrection/ eli@bird ~/project_resurrection $ svn up At revision 5.
[edit] Documentation
The Subversion Book: http://svnbook.red-bean.com