Tag Archives: SVN

set up subversion

1) Install SVN

sudo apt-get install subversion libapache2-svn

2) Create your repository. Once svn is installed on your host, you can proceed with the repository set up

svnadmin create /svnrepos

3) Create a SVN User

Run the below given command

vi /svnrepos/conf/svnserve.conf

and paste here the below given code in  svnserve.conf

anon-access = none
auth-access = write
password-db = passwd

4)Create a password file:

vi /svnrepos/conf/passwd
# add users in the format : user = password
phpcode = phppass

5)  Import Your Project

svn import /projects/myrailsproject file:///svnrepos/myrailsproject

6) Start the SVN Server as Daemon

svnserve -d

7) Restart apache

sudo /etc/init.d/apache2 restart

set up svn

1) Install SVN

sudo apt-get install subversion libapache2-svn

2) Create your repository. Once svn is installed on your host, you can proceed with the repository set up

svnadmin create /svnrepos

3) Create a SVN User

Run the below given command

vi /svnrepos/conf/svnserve.conf

and paste here the below given code in  svnserve.conf

anon-access = none
auth-access = write
password-db = passwd

4)Create a password file:

vi /svnrepos/conf/passwd
# add users in the format : user = password
phpcode = phppass

5)  Import Your Project

svn import /projects/myrailsproject file:///svnrepos/myrailsproject

6) Start the SVN Server as Daemon

svnserve -d

7) Restart apache

sudo /etc/init.d/apache2 restart

Copy-Modify-Merge Solution

Subversion, CVS, and many other version control systems use a copy-modify-merge model as an alternative to locking. In this model, each user’s client contacts the project repository and creates a personal working copy—a local reflection of the repository’s files and directories. Users then work simultaneously and independently, modifying their private copies. Finally, the private copies are merged together into a new, final version. The version control system often assists with the merging, but ultimately, a human being is responsible for making it happen correctly.