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

Re: svn log -g doesn't return merge info when operating against repository root

From: Henrik Carlqvist <hc528_at_poolhem.se>
Date: Wed, 4 Dec 2013 22:50:07 +0100

Thanks for your quick reply!

> Log on ^/ shows all revisions; adding -g includes no more revisions.

Yep, that is the problem. IMHO the flag -g should also give output which
shows merge information, not only on deeper levels but also on the root
level of the repository. I can understand if most people don't want the
extra merge information, but if you don't want it you simply call svn
without the flag -g.

I don't know why Justin needs the feature of -g on the repository root,
but I can tell how I use it:

I have written a utility which does call "svn log -q -g file://`pwd`/repo"
and uses the information it gets from that to draw revision tree graphs.
My utility is at http://svn2cvsgraph.sourceforge.net/ , using that utility
together with svn versions newer than about two years will give no merge
arrows in the produced graphs. It would probably be possible to rewrite my
utility to get all merge information also from newer versions of svn, but
it would be slower as it would require at least one extra call to svn for
each created branch.

regards Henrik
Received on 2013-12-04 22:50:42 CET

This is an archived mail posted to the Subversion Users mailing list.

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