views:

553

answers:

8

I have an SVN repository that has multiple projects inside of it, each one of those with a tags/branches/trunk structure under them like this:

Project 1
- trunk
- tags
- branches

Project 2
- trunk
- tags
- branches

This goes on for ~40 projects. What I would like to do is clean up any abandoned branches that may exist, however I do not know of a method to visualize the entire repository tree. I would really like to not have to browse through each of the branches manually if I can avoid it. Are there any stand-alone tools to accomplish this?

EDIT:I realize that TortoiseSVN, Cornerstone and similar tools do allow visual repository browsing. However, what I'm really looking for is a way to see the entire structure at once. Kind of like if you could run TortoiseSVN's revision graph against the repository itself and see all the projects fully expanded.

+2  A: 

It depends on what OS you're running.

I primarily use Mac OS X, so my SVN client of choice is Cornerstone. This app does an excellent job of visualizing the structure and comments of the repository. The GUI is very slick, intuitive, and easy to use.

If you're on Windows, I don't know much about which client is the best, but I hear most people use TortoiseSVN.

ignorantslut
+1 for Cornerstone. It's an excellent client and makes Subversion painless.
Andrew Noyes
I like both TortoiseSVN and Cornerstone, however neither of them can create a visual of the entire repository contents as far as I have been able to determine.
Wally Lawless
+3  A: 

svn ls -R [svn://|http://|file://]url/to/repository

Metiu
+2  A: 

I use GUI clients to to manage my SVN repositories, but another tool that I have found really useful is WebSVN. It's a PHP based app for viewing your repository. It has a slick interface and has syntax highlighting for your source code. You can give it the parent path of your repositories so you can see which repositories are there and quickly browse through them to see what's what. It can't actually run commands on the repositories, for obvious reasons, but once you know what you want to do you can just use the command-line.

Andrew Noyes
+2  A: 

If you are willing to put some money into that tool and have a nice visual one, you can fisheye. Otherwise check sventon; it does the basics.

fisheye http://www.atlassian.com/software/fisheye/features/repository.jsp sventon http://sventon.org/

Jericho
+1  A: 

In addition to Andrew's WebSVN suggestion, I would also recommend ViewVC. I explain to people that WebSVN is more of a bean counter's tool while ViewVC is better suited to developers seeking more detailed information in a more efficient manner. That's rather tongue-in-cheek, of course, but you'll see what I mean if you compare the two products. I have deployed both in my organization.

Gary Chambers
+2  A: 

VoilaSVN may be the tool you're looking for. Screen shots

William Leara
+3  A: 

The Trac product (open-source) also offers a graphical view of repositories. (among many other features)

Trac Open Source Project

Trac Source browser

William Leara
+1  A: 

You might also look into Gource -- a pointlessly sexy OpenGL visualization for Subversion. It's particularly good for visualizing how a repo changes over time and how different contributors affect different pieces of the project.

Doches
Funny you should say, I actually switched us over to Mercurial awhile ago and happened to stumble upon Gource along the way. I tried it on our SVN project and unfortunately it didn't get along too well with our weird layout so it wasn't very exciting. Completely pointlessly sexy. Makes good intros for development team meetings though!
Wally Lawless