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

Re: getting a few information on the last repositories changes

From: David Weintraub <qazwart_at_gmail.com>
Date: Sat, 18 Oct 2008 21:43:34 -0400

On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:
> Getting the changed paths between two tags is hard, because a tag is not an
> alias for a revision; it is a separate repository path.

This is one of the reasons I hate the way Subversion does tags!

What you can do is a "svn log -v --stop-on-copy" on the tag to get the
revision and the path that tag is from. You might have to do this
again if that tag is a copy of another tag. For example, we have build
tags and production tags, so if we were looking for the difference
between two production tags, we would have to do an "svn log -v" on
the production tag which gives us the URL and revision of the build
tag. Doing another "svn log -v" on the build tag would give us the URL
and revision you're looking for.

This isn't too bad to do manually, and you can script this, but it is a pain.

Anyway, once you have the revision numbers that the tags originated
from, you can then do a svn diff -rrev1:rev2 --summarize to get the
information you're looking for.

--
David Weintraub
qazwart_at_gmail.com
On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:
>
> On Oct 17, 2008, at 17:37, Luca Ferrari wrote:
>
>> I'd like to get the list of changed pathes between two tags (and more in
>> general between two revisions), but it seems svlook allows only to get the
>> list of changed pathes from only one specific revision. How can I get
>> information between two revision numbers and tags?
>
> Getting the changed paths between two revisions (e.g. r100 and r200) is
> easy:
>
> svn log -r 100:200 -q -v $REPO
>
> or:
>
> svn diff --summarize -r 100:200 $REPO
>
> Getting the changed paths between two tags is hard, because a tag is not an
> alias for a revision; it is a separate repository path.
>
>
>> Moreover, is it possible to query the repository and see all the last
>> activities of a committer?
>
> There is not a built-in way to do that. You could use "svn log" over the
> desired revision range, and parse out the entries for the committer you're
> interested in, using whatever programming language you like.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-19 03:43:57 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.