Sunday, February 22, 2009

Using Subversion : Part 1

I decided to use subversion for the helper (someitmes throwaway) scripts that I was using to help me with work. I was the only one who was going to use the repository as I was hosting it on a Slackware virtual machine.

It seemed easiest to use the svnserve option as the Apache httpd seemed a little too involved for what I wanted to do.

First you create your repository with something like:

$ svnadmin create /var/svn/myrepo

This creates the repository with the default filesystem data store, which is FSFS with the version of subversion I am using.

Then you start the server. Since I was using svnserve, you start it this way:

$ svnserve -d -r /var/svn/myrepo


This makes all the repositories I will place there available to anyone who wants it.

No comments: