A nice and detailed guide....
http://www.saltycrane.com/blog/2007/03/how-to-setup-subclipse-project-to/
Showing posts with label SVN. Show all posts
Showing posts with label SVN. Show all posts
Friday, June 8, 2012
Thursday, June 7, 2012
Set up a svn server on linux quickly
Here is a quick guide for setting up a basic svn server on a linux platform. If you are looking for a detailed configuration, please refer to the manual of svn.
- yum -y intall subversion #install svn
 - svnadmin create /xx/svn_repository/plancky_code #create a repository
 - cd /xx/svn_reposity/plancky_code and then modify server.conf, passwd # add user and password
 - vim server.conf and uncomment "password-db = passwd"
 - vim passwd and add an item "username=password"
 - svnserve -d -r /xx/svn_repository/plancky_code # start svn server
 - svn import /xx/plancky svn://localhost/plancky_code -m initial import --username username --password password #import plancky to repository
 - svn co svn://localhost/plancky_code --username username --password password #check out code from repository
 
- ERROR: If meeting Error"SVN: could not use external editor to fetch log message", we need to add a SVN_EDITOR to bash configuration
 - vim ~/.bash_profile
 - export SVN_EDITOR="/usr/bin/vim"
 - reopen the terminal to load the bash configuration
 
Subscribe to:
Comments (Atom)