[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 lists much to many revisions.

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 22 Dec 2008 08:34:36 -0500

Bert Huijben wrote:
> Using Subversion 1.5.4 and 1.5.5 svn log -g gets much to many revisions
> on our 1.5.x branch.
>
> (I reported this issue on irc a few days ago, but it was reported as
> fixed in 1.5.5)
>
> # svn log -g http://svn.collab.net/repos/svn/branches/1.5.x --limit 10
> <http://svn.collab.net/repos/svn/branches/1.5.x%20--limit%2010>
>
> Gives thousands and thousands of revisions.

Here's a little command-line yuckiness to let me see what was merged in
those last 10 revisions (by see whatever revision was 11 changes ago,
diffing between that revision and HEAD, and grepping for the propdiff output
that shows merges):

$ svn diff -`svn log http://svn.collab.net/repos/svn/branches/1.5.x --limit
11 | grep -E '^r[0-9]+ ' | tail -1 | cut -f1 -d ' '`:HEAD
http://svn.collab.net/repos/svn/branches/1.5.x | grep ' Merged'

The very first line of output may explain what you're seeing:

   Merged /trunk/www/images/subversion-diagram.png:r2-27629,...

So, it would not surprise me to see revisions as old as r2 in log -g output
for this branch's last 10 revisions.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=989757

Received on 2008-12-22 14:35:14 CET

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