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

Re: Log between two tags

From: Thomas Wicklund <wicklund_at_eskimo.com>
Date: 2007-02-12 16:50:34 CET

Ulrich Eckhardt writes:
> Hi!
>
> I'd like to find out what changed between two tags of a project. In order to
> get the raw changes to the sourcecode, I can easily use "svn diff
> $URI/tags/tag1 $URI/tags/tag2".
>
> Now, how do I get to the changelog between those two? I know that I can
> use "svn log --stop-on-copy --verbose $URL/tags/tagX" to find out when tagX
> was created and from which revisions of which files (in the ideal case that
> is just a single revision). With that info, I can then use "svn log -rX:Y
> $URL/trunk" to get the logentries.
>
> Is there an easier way?

I've got a script which does what you want. It basically finds the
revision of each tag, then gets the log of the trunk between those
tags.

The script is in perl. I've posted it at:

  http://www.eskimo.com/~wicklund/buildlog

The script was written to diff named builds, so it expects two build
names (rather than URLs) and has two functions which you'll need to
modify, one to translate a build name to the tag URL, the other to
translate the build name to the trunk URL. The script could be
modified to work with two tag URLs only, but I don't currently have
the time to do so.

Thomas Wicklund

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 12 16:51:08 2007

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.