SVN

SVN/Websvn/Apache HOWTO on CentOS

First we will just install SVN and get your repository up and running with some users. For the purpose of this tutorial I'm going to be using CentOS, but it should be hard to find similar command on other flavours of Linux.

Install SVN

Install mod_dav_svn right away which is required to make SVN work with apache.

	yum install mod_dav_svn subversion
	

Create Repository

How to do an in-place 'import' with Subversion

Suppose, for example, that you wanted to put some of /etc under version control inside your repository:

# svn mkdir <a href="///root/svn-repository/etc" title="///root/svn-repository/etc">file:///root/svn-repository/etc</a> \
 -m "Make a directory in the repository to correspond to /etc"
# cd /etc
# svn checkout <a href="///root/svn-repository/etc" title="///root/svn-repository/etc">file:///root/svn-repository/etc</a> .
# svn add apache samba alsa X11 
# svn commit -m "Initial version of my config files"

How to remove CVS and/or .svn files and folders form the command line in Linux

So, you copied a bunch of directories from one source controlled project to another and you don’t want to go through and delete all those CVS or .svn directories by hand? Ok, no problem…

Syndicate content
LiveZilla Live Help