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

Re: How do you find the repository revision of a tag?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 16 Jul 2008 13:47:10 -0400

On Wed, Jul 16, 2008 at 13:33, David Weintraub <qazwart_at_gmail.com> wrote:
> Simple question really:
>
> I have a tag that points to the last QA version I created --
> http://svn/dev/ads/tags/QA/ADS-5.3-Q-20
>
> Now it is time for me to do the next QA revision which is based upon
> the development tag http://svn/dev/tags/DEV/ADS-5.3-D-139.
>
> I would like to generate a set of release notes based upon the changes
> between the last QA tag, ADS-5.3-Q-20 and the development tag
> ADS-5.3-D-139. Something like this:
>
> $ svn log -rADS-5.3-Q-20:ADS-5.3-D-139 http://svn/dev/ads/trunk
>
> Unfortunately, the "svn log" command doesn't take the "tags" I
> created, but must use the revision numbers the tags are based upon.
>
> Is there an easy way to see what revision a particular tag is based
> upon? I have to be able to do this programmatically, so it has to be
> something that is easy to parse out.

To get the revision number at which the tag was created: svn log
--stop-on-copy <TAG_URL>

or

To get more detailed info about the tag itself: svn info <TAG_URL>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-16 19:47:33 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.