Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Subversion Local Setup

Subversion is a good CVS, but today (20111016) it would not usually be the first choice for developers. Git, bazaar, and mecurial are distributed version control systems and the more popular choices, with git way out in front (20190307).

Note that subversion should not be hosted to a file:/// using NFS if using the BDB format for subversion. But, by default, the svnadmin create command uses the FSFS format, so that NFS is just fine (if the lockd daemon is running).

A simple local setup of subversion will install the software and setup the system:

$ wajig update
$ wajig install subversion
$ sudo mkdir /var/svn
$ sudo chgrp -R staff /var/svn
$ sudo chmod -R g+w /var/svn
$ svnadmin create /var/svn/myproject
$ mkdir TEMP
$ echo "Test SVN" > TEMP/simple.txt
$ svn import -m "Initial import" TEMP file:///var/svn/myproject/trunk
$ svn co file:///var/svn/myproject/trunk
$ svnlook tree /var/svn/myproject

If you have set up a local SVN repository and checked out a project locally to your home directory and NFS mount the repository to another machine for local checkout, we are likely to face NFS issues. Instead set things up to work with snvserver as in the next page.

To change the location of the svn repository edit the information in .svn/entries to change:

file:///consus/svn/myproject/trunk
file:///consus/svn/myproject
to
svn://belinos/consus/svn/myproject/trunk
svn://belinos/consus/svn/myproject


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.