[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: Revision graph missed merge

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-05-23 06:56:54 CEST

Simon Large wrote:
>The revision graph is something of an incomplete feature, because
>subversion doesn't supply all the information needed to give the full
>picture. In fact it doesn't even supply enough information to do what
>the rev graph already does, so there is a bit of guessing going on
>internally.

  Actually, it does, but you need to traverse every revision
  in order to do that. The only thing that won't show up
  in the repository history is where merges occurred, unless you
  use a tool like "svnmerge.pl".

  I'm not sure if anyone has looked, but I wrote a graphing tool
  that's in /tools/client-side/svn-graph.pl in the main subversion
  repository. From memory, it should follow the copy-history of
  any path in the tree (although it might not notice if a path
  deep inside a copy is being traced... I can't remember now. It's
  a bug if it doesn't). It seems to work OK if you point it at
  http://svn.collab.net/repos/svn/trunk.

  It spits out a GraphViz "dot" file which can then be turned
  into an SVG, PNG, etc.

  It takes a while to run, particularly if your repository is
  a long way away. It takes about as long as "svn log -v REPOSROOT"
  would take.

  Whenever Subversion implements renames and merge tracking, I
  was going to add those things to the graph.

daniel
P.S. Please CC me if you want to include me in any discussion, I'm not
subscribed to this list.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon May 23 08:37:34 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.