Subversion hosting, CVS hosting, Trac hosting, Bugzilla hosting and software collaboration Providing hosted Subversion, CVS, Trac and Bugzilla repositories
 

November 26, 2008

Graphical Display of Subversion Repository Revision History in Trac

Filed under: Source Code Control — Tags: , , , — Greg Larkin @ 8:15 pm

Hi everyone,

Once again, I bring you another useful Subversion-related tool. This time, I recently discovered a Trac plugin named RevtreePlugin. If you want to display your Subversion branches and revisions graphically inside of Trac, this is the plugin for you!

As I’ve noted before, I’m a FreeBSD ports tree committer now, so I absolutely had to build a port for this plugin. You can find the details of the port in FreshPorts, and if you’re using FreeBSD (you are, aren’t you?), install it like so:

cd /usr/ports/www/trac-revtree && make install clean

You will be presented with some options to enable some display enhancers. Make sure to enable the mergeinfo enhancer, and you’ll see some interesting graphs if you’ve been merging a lot.

Happy Thanksgiving!


Call me - Greg Larkin: error

November 3, 2008

How To Dump a Remote Subversion Repository

Filed under: Source Code Control — Tags: — Greg Larkin @ 10:53 am

Hi folks,

I run across a lot of software utilities in my day job and as a FreeBSD ports tree committer. Recently, I wanted to generate a Subversion dump file from a repository, but I didn’t have access to the machine where it was housed. Since svnadmin dump requires direct access to the Subversion repository directory, I started looking around for another way.

After some online searching, I found rsvndump, and it works great! Here is an example use to fetch the first 10 revisions of the public TWiki Subversion repository:

[glarkin@fbsd70 ~]$ rsvndump –stop 10 http://svn.twiki.org/svn/ > twiki.dump
* Dumped revision 0 (local 0).
* Dumped revision 1 (local 1).
* Dumped revision 2 (local 2).
* Dumped revision 3 (local 3).
* Dumped revision 4 (local 4).
* Dumped revision 5 (local 5).
* Dumped revision 6 (local 6).
* Dumped revision 7 (local 7).
* Dumped revision 8 (local 8).
* Dumped revision 9 (local 9).
* Dumped revision 10 (local 10).
[glarkin@fbsd70 ~]$ ls -l twiki.dump
-rw-r–r–  1 glarkin  glarkin  334658 Nov  3 09:43 twiki.dump

Once you have a dump file, you can easily create a local Subversion repository and use svnadmin load to populate the new repository.

Of course, I’m now honor-bound to create FreeBSD ports for useful utilities like this if they don’t already exist. If you’d like to install rsvndump on FreeBSD, just do the following:

cd /usr/ports/devel/rsvndump && make install clean

Call me - Greg Larkin: error

Powered by WordPress