subversion setup

This is a quick subversion setup. really quick because to be honest it’s my first time. Normally I only get the repository url and an account, setup done for me.

Start by downloading the latest subversion build for your system at

Unzip this archive somewhere and ad the bin to your path variable.

Create your local repository with the following command

svnadmin create /path/to/repos

Next you can import your first project with the following command

svn import /tmp/project file:///path/to/repos -m "initial import"
An important note about your project structure,
subversion expects the following 3 root folders:


Then you can check the project out again with

svn checkout file:///path/to/repos/trunk project

All is done, you can now start importing other projects, commit changes, checkout elsewhere, etc…

Note that these examples all work locally so we can use the file:// protocol. Remotely this would be http:// or others.
how to delete a repository:
Deleting a complete repository is done by deleting the database
If you only want to delete a project or file use

svn delete -m "Deleting file 'yourfile'" file:///tmp/repos/test/yourfile
try and explain how to setup a svn server

project home page: <a href="http:/
cheat sheet:

Leave a Reply

Your email address will not be published. Required fields are marked *

Please reload

Please Wait