views:

2075

answers:

4

Does anyone know a good tool for drawing SCM codeline diagrams? Currently we tend to do this using anything at hand e.g. PowerPoint, Visio, Paint Shop Pro, etc. It's a pity Visio doesn't include a standard stencil for this type of diagram.

We use Perforce which includes tools for producing branching diagrams, but really suited to single files. Moreover, the logical branching strategy is often different from the physical branch history which usually includes far too much detail.

What I'm looking for is something I can use to draw those "big picture" codeline diagrams with mainline, release branch, maintenance branches, etc.

+5  A: 

I've often used the Windows version of Dia, which is a nice open source diagram package. There is a good range of stencils and although I don't think there's any standard for SCM codeline diagrams you could just make something up. Since it is a diagram editor you can have connecting arrows that rearrange nicely as you drag parts of the diagram around.

When using Mercurial I like hgview which draws useful codeline diagrams on the fly. It could be better :)

Dickon Reed
+3  A: 

I never had a problem doing them with Visio when I needed to draw branch pictures - but then again, I always worked for small companies so the branches were not crazy complicated. Once my team switched to Accurev, we didn't need to because it has a stream/branch visualization tool built in.

Chris Boran
+1  A: 

njreed - have you tried using http://svnmapper.tigris.org/? You need windows though unfortunately.

Thanks for the answer. This is just what I'm looking for but the only problem is we don't use subversion. What I'm looking for is something similar for Perforce. The built-in Perforce branch viewer is only suited to viewing the branching history for a single file, rather than the logical branching structure.
njreed.myopenid.com
A: 

I'd always go for Visio to draw diagrams manually: alt text

But there are tools able to draw the whole thing for you already. Check Plastic SCM :) alt text

pablo