Saturday, February 17, 2007

Subversion Repository

Subversion is one of the most beautiful pieces of software that I have ever worked with. This open-source version control system is well designed, it's robust and scalable, it's powerful while still user-friendly, and it's also very well documented.

Setting up a minimally configured subversion repository can be very easy:
  1. Download subversion from the tigris website

    http://subversion.tigris.org/

  2. Create a subversion repository at your desired location by applying the command svnadmin create <location>, e.g.

    svnadmin create c:\server\subversion\repos

  3. Optionally configure authentication and access-control in the svnserve.conf file which is located in the conf folder directly under the repository root, e.g.

    c:\server\subversion\repos\conf\svnserve.conf

  4. Star the svnserve server process by applying the command svnserve -d -r <location>, e.g.

    svnserve -d -r c:\server\subversion\repos

  5. You can then access the repository from a subversion client using the svn protocol, e.g.

    svn import c:\projects\foo svn://localhost/foo/trunk

You can learn all the details about subversion from the book Version Control with Subversion which is also accessible online.

0 Comments:

Post a Comment

<< Home