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

Re: A depth argument for --stop-on-copy

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 13 Jul 2009 11:40:06 -0500

On Jul 13, 2009, at 09:01, Andrea wrote:

> I would like to propose (or be told a better way to do it) to add
> a depth argument to "svn log --stop-on-copy".
>
> If I ask for the log of a tagged version, then "svn --stop-on-copy"
> stops
> immediately (on the commit "svn copy branches/xxx tags/xyz").
>
> While "svn log" goes on forever.
>
> I would like to get the log until the 2nd copy (which should be the
> one
> from trunk into branches).

You just issue two svn log commands, e.g. if you want to find out
where on trunk the Subversion 1.6.3 tag originated from:

$ svn -v log --stop-on-copy http://svn.collab.net/repos/svn/tags/
1.6.3 -r 1:HEAD --limit 1
------------------------------------------------------------------------
r38065 | hwright | 2009-06-17 22:23:04 -0500 (Wed, 17 Jun 2009) | 1 line
Changed paths:
    A /tags/1.6.3 (from /branches/1.6.x:38063)
    M /tags/1.6.3/subversion/include/svn_version.h

Tagging release 1.6.3 with svn_version.h matching tarball.
------------------------------------------------------------------------

Ok, so the 1.6.3 tag came from the 1.6.x branch. And here's where the
1.6.x branch came from:

$ svn -v log --stop-on-copy http://svn.collab.net/repos/svn/branches/
1.6.x -r 1:HEAD --limit 1
------------------------------------------------------------------------
r35888 | hwright | 2009-02-16 14:12:16 -0600 (Mon, 16 Feb 2009) | 1 line
Changed paths:
    A /branches/1.6.x (from /trunk:35887)

Create the release branch for release 1.6.0.
------------------------------------------------------------------------

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2370987

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-13 18:41:04 CEST

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.