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

Re: how to see which "tags" have been applied to a revision of a file on the trunk

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-10-28 12:39:10 CEST

On Oct 28, 2006, at 06:52, Dmitri Colebatch wrote:

> Hi all,
> I'm in the process of evaluating subversion, and so far am very
> happy with what I see. I've setup a repostiory using the cvs2svn
> script which worked very well. I've been able to answer just about
> all my questions through reading the various documentation sources
> but have one outstanding question.
> If I receive a bug report from the field, and I am browsing the
> source based on the stack trace, I will typically be on the trunk
> but would like an easy way of knowing if the particular file I'm
> looking at has changed since the tag in question. In CVS what I
> would do here is a cvs log [filename] and I can see which tags have
> been applied to which versions. However, because svn copies files,
> rather than tags them, I don't see any way I can see what tags have
> been applied to a file (ie where a file has been copied to). I
> also want to do this sort of thing when making a new tag to check
> what has changed since the last released version - in this case I'm
> typically interested in a whole directory rather than just one file
> (here cvs diff -r [tag] is what I use).
> I assume other people out there have encountered this scenario as
> well and am interested to hear how they have handled it. As I
> understand it this is one of the drawbacks of copying (with
> history) rather than purely tagging. Any opinions/suggestions
> would be appreciated.

You can do this with a little bit of processing.
Basically you get info on all the tags and then merge that info into
the log listing.
svn command line does not do this natively but you can script it.

My pysvn WorkBench GUI does this in its Log History window if you
configure the location of your tags folder.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 28 12:40:00 2006

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.