[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: Reinhard Brandstädter <reinhard.brandstaedter_at_jku.at>
Date: 2006-10-30 10:51:32 CET

On Saturday 28 October 2006 07: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.

Indeed this is a common use case where subversion is a bit more "difficult"
than CVS. I understand that question and have encountered it myself but have
to ask counter-questions:

1.) Usually if you get a report "from the field" you know which version (aka
TAG) is running out there. So you can still look in your repository where
this tag came from (and see the entire history of a specific file). Why not
starting at the TAG/Version and proceed from there instead of proceeding from
a file in TRUNK?

Diffing whole directories is just a client-based Issue. If you use Tortoise
for example it's easy to compare a whole TAG with TRUNK or another TAG.
Tortoise shows the list of changed files and diffs those files. I think
kdesvn for linux does the same.

Another good tool for leveraging your repository is FishEye (www.cenqua.com).
Fisheye indexes repositories and makes such things available via web. (esp. it
adds an remark in a files history when it was tagged) + many more features!
FishEye is just great in that way! I love it! You might give it a try.

Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 30 10:52:18 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.