You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ulrich Eckhardt <ec...@satorlaser.com> on 2007/02/07 11:37:20 UTC

Log between two tags

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?

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Log between two tags

Posted by Thomas Wicklund <wi...@eskimo.com>.
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

Re: Log between two tags

Posted by marc gonzalez-carnicer <ca...@gmail.com>.
i just found out that tortoisesvn can do that.


2007/2/8, marc gonzalez-carnicer <ca...@gmail.com>:
> i have also been interested on that for
> a long time ... but i can't provide any help.
>
>
>
> 2007/2/7, Ulrich Eckhardt <ec...@satorlaser.com>:
> > 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?
> >
> > Uli
> >
> > --
> > ML: http://subversion.tigris.org/mailing-list-guidelines.html
> > FAQ: http://subversion.tigris.org/faq.html
> > Docs: http://svnbook.red-bean.com/
> >
> > **************************************************************************************
> >            Visit our website at <http://www.satorlaser.de/>
> > **************************************************************************************
> > Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
> > E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
> >
> > **************************************************************************************
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Log between two tags

Posted by marc gonzalez-carnicer <ca...@gmail.com>.
i have also been interested on that for
a long time ... but i can't provide any help.



2007/2/7, Ulrich Eckhardt <ec...@satorlaser.com>:
> 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?
>
> Uli
>
> --
> ML: http://subversion.tigris.org/mailing-list-guidelines.html
> FAQ: http://subversion.tigris.org/faq.html
> Docs: http://svnbook.red-bean.com/
>
> **************************************************************************************
>            Visit our website at <http://www.satorlaser.de/>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
>
> **************************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Log between two tags

Posted by "B. Smith-Mannschott" <be...@gmail.com>.
On 2/7/07, Ulrich Eckhardt <ec...@satorlaser.com> wrote:
> Hi!
>

> 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.

Well, it's a cheezy hack, but I just do this:

diff <(svn log URL1) <(svn log URL2)

// Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org