WebSVN offers a view onto your subversion repositories that’s been designed to reflect the Subversion methodology. You can view the log of any file or directory and see a list of all the files changed, added or deleted in any given revision. You can also view the differences between two versions of a file so as to see exactly what was changed in a particular revision.

Some of the features WebSVN supplies:

  • Easy-to-use interface, simple to install / configure
  • Supports multiple repositories, local or remote
  • Optional path-based restriction of privileges
  • Colourisation of file listings; MIME type support
  • Blame (annotation) view of file authorship
  • Comparing revisions of files / directories
  • Revision and log message browsing / searching
  • RSS feed support for watching any resource
  • Download of files and folders
  • Customisable templating system
  • Multiple languages and on-demand switching

Setting up WebSVN

Installing websvn is very simple and only requires a few small steps.

First download the source from the websvn website:

cd /tmp
wget http://websvn.tigris.org/files/documents/1380/49056/websvn-2.3.3.tar.gz
tar xvf websvn-2.3.3.tar.gz
mv websvn /var/www/html/websvn
cd /var/www/html/websvn/includes/distconfig.php /var/www/html/websvn/includes/config.php
vim config.php

Now add repositories like this:

$config->addRepository('MyTestRepo, 'svn://example.com/myrepo)', null, 'username, 'password');

You can add as many as you want. The repositories can be local or remote.

The end result should be this:

This is the home page for one of my repositories.

 

You can view the diff between versions like this:

© 2011 Crazy's Blog Suffusion theme by Sayontan Sinha