Instructions to add a new SVN repository (after SVN is already installed and running) ------------------------------------------------------------------------------------- Author: A. Palladinio Date: 10 Feb 2011 Create a directory with the structure you wish the repository to have. Let's say this directory is located here: /home/pibeta/xxx Make sure there are: No binary files! No compiler generated files (e.g. ".o" files)! No executable files! Become Super User: [you@anton ~]$ su - Create a new repository called "xxx": [root@anton ~]# svnadmin create --fs-type fsfs /srv/svn/repositories/xxx Import the stuff into the new repository: [root@anton ~]# svn import -m "Initial import." /home/pibeta/xxx/ file:///srv/svn/repositories/xxx NOTE the trailing "/" after the directory, but not after the repository. Change permissions: [root@anton ~]# chown -R svn:pen /srv/svn/repositories/xxx [root@anton ~]# chmod -R g+w /srv/svn/repositories/xxx [root@anton ~]# chmod g+s /srv/svn/repositories/xxx/db Now You are Done ---------------- If you want to browse this repository using Redmine, you can go to settings on the Redmine Project page associated with this repository, and select "subversion" and enter this path: file:///srv/svn/repositories/xxx Leave the login name and password blank. Click "Save"