33

Real strange.

I cannot find a tool that enables one to display a SVN repository in graphical form.
I would like the ability to see changes in revision / time , branch / time graphs.

Does anyone know of one. Ideally it would be platform neutral or even better web based.

Solutions offered so far in brief:

  • svn-graph
  • Fisheye ( you want how much !£?* )
Community
  • 1
  • 1
Judioo
  • 1,083
  • 2
  • 13
  • 20

11 Answers11

13

Fisheye, from Atlassian, looks at an SVN repository and can show you a few graphs. Also provides a handy web interface for blame, diff, etc.

for example, some sample images at one of the demo servers:

  1. pie chart
  2. line change

And if you like some pretty code metrics, here are some samples.

Jason Plank
  • 2,336
  • 5
  • 31
  • 40
David Wengier
  • 10,061
  • 5
  • 39
  • 43
7

You might also give StatSVN a try.

It's written in Java (meets your platform-neutral requirement) and generates a static html tree with your revision history and commit graphs. You can use Ant or a batch file to automate the process of calling it.

I've also heard good things about Trac.

jpdaigle
  • 1,265
  • 10
  • 12
6

for simplicity, tortoise svn gives a basic revision graph

DShook
  • 14,833
  • 9
  • 45
  • 55
6

I am writing subverion statistics graph generation utility named SVNPlot. It is inspired by the graphs generated by StatSVN. However, the SVNPlot graph generation is in two steps (a) first it creates a sqlite3 database from the subversion log information (b) actual graphs are then generated by extracting the database sqlite database (using simple sql queries).

I think using sql to extract the graph data from the log information is resulting in greater flexibility and good performance. Right now the SVNPlot only generates graphs but it very easy to extract any other stats from the generated sqlite database.

SVNPlot is written in python and it uses excellent Matplotlib package to generate the graphs. The code is available on SVNPlot page on google code (license is New BSD license). The sample graphs generated for Rietveld repository are available at http://thinkingcraftsman.in/projects/svnplot/index.htm

Pete
  • 1,305
  • 1
  • 12
  • 36
Nitin Bhide
  • 1,685
  • 14
  • 15
  • You should've quoted your answer text since it is copied from `svnplot`'s wiki and provided a link to the original source found [here](https://code.google.com/p/svnplot/wiki/Introduction). – Daniel Mar 30 '15 at 18:05
4

The only tool that I've ever encountered is the svn-graph.pl perl script from the svn tools. It spits out a graphviz dot file which can be rendered in a variety of image formats. This could be wrapped up in a cgi script to form a basic web graph tool.

Zitrax
  • 19,036
  • 20
  • 88
  • 110
Michael Twomey
  • 1,722
  • 14
  • 7
3

Trac is a wiki and issue tracking tool, which happens to include an SVN browser. The RevtreePlugin, for Trac will allow you to display your repo in a graphical form. Trac is still a very young application(latest version is 0.11.1), but we use it at work for our software development and it's proved very useful so far.

Sam Murray-Sutton
  • 1,439
  • 1
  • 13
  • 22
2

Maybe you could elaborate a little on what "visual display" and "pretty charts" you are after?

A roundabout way would be to clone the svn repository with git-svn, then you can use the graphical gitk or giggle tools on it to visualize branches and merging as well as browsing the specifics.

(You would then get the distributed thing, that git does so well, as a nice side effect.)

asjo
  • 3,084
  • 2
  • 26
  • 20
  • The giggle link gives a 404. I might also suggest that SourceTree visualizes Git really well if you decide to go that route. – Chris Nelson Jan 23 '20 at 15:46
1

Trac includes a source code browser and limited statistics analysis. It's web-based, of course.

Nikhil
  • 5,705
  • 1
  • 32
  • 30
1

There is also https://github.com/justinmassiot/svn-graph-branches. Although no activity since 2010 and it didn't work for me (not compatible with my dot version).

Zitrax
  • 19,036
  • 20
  • 88
  • 110
1

There is also nice application SmartSVN with nice graph.
But version with graph is not free.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Michal
  • 82
  • 1
  • 2
-2

You could also try MPY SVN STATS. Here is an example graph for Zope.

hangy
  • 10,765
  • 6
  • 43
  • 63