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

Re: the revision number and a tag

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 11 Aug 2011 12:20:03 -0400

On Thu, Aug 11, 2011 at 11:59 AM, Michael Hüttermann <
michael_at_huettermann.net> wrote:

>
> given a Subversion tag, what's the best way to get the revision number of
> that tag, i.e. the revision number with which the tag was created? Is it
> possible at all having checked out the tag to a local working copy? Or is
> there any other way to cross-reference a "tag" to a revision number?
>

Simple way is just to use svn info and look for the Last Changed Revision:

$ svn info http://svn.apache.org/repos/asf/subversion/tags/1.6.17
Path: 1.6.17
URL: http://svn.apache.org/repos/asf/subversion/tags/1.6.17
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1156659
Node Kind: directory
Last Changed Author: hwright
Last Changed Rev: 1130806
Last Changed Date: 2011-06-02 16:49:07 -0400 (Thu, 02 Jun 2011)

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-08-11 18:20:34 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.