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

Re: Non-recursive log?

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Tue, 12 Nov 2013 09:34:51 +0000

On 12 November 2013 05:24, Gavin Lambert <tsvn_at_mirality.co.nz> wrote:

> I suspect this might be a limitation of the underlying Subversion
> library, but it's something that's come up a few times recently so I
> thought I'd ask about it.
>
> Is there a way to get a non-recursive log of a particular folder? ie.
> one that lists revisions that directly affect the immediate children of
> the folder but (unlike default behaviour) does not include revisions
> that only affect grandchildren etc.
>
> The most common case when I seem to find myself wanting this is for
> branch management -- I want to open the Repo Browser to
> svn://server/repo/branches/ and quickly find the revisions in which
> entire branches were added or removed -- but I don't care about commits
> made within those branches (which currently are included in the log
> output).
>
> I can't see any obvious way to do this from the command line either
> (which is why I thought it might be a library limitation) -- while it
> has the seemingly-perfect "--depth=immediates" option this does not seem
> to be supported for the log as a whole.
>
> --depth is only concerned with the depth of the checkout. The short answer
is that no you cannot restrict the log output in this way as it is not
supported in subversion. However you might try using the revision graph
which pre-processes the log information to show a tree with or without the
intermediate commits.

Simon

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3068303

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-11-12 10:34:57 CET

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