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

Re: Finding out release history for a file

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-10-25 20:31:04 CEST

On 25-Oct-05, at 1:29 PM, sebb wrote:

> ...
> However, what I want to do (and was able to do in CVS) was to see in
> the revision history which tags and releases applied to each revision.
>
> The CVS History in Eclipse includes the following columns:
>
> Revision | Tags | Date | Author | Comment
>
> The Tags column automatically shows the release and branch tags.
>
> By scanning the column, it's very easy to see what revision belongs to
> each release, and to see where the file changed between releases.
>
> This is vey helpful when trying to find where something broke, e.g. it
> was working in release 1.9, but not in 2.1.

svn diff url_to_tag1.9/some_file url_to_tag2.1/some_file

you can also try
svn log -rAAA:BBB -v blah/trunk

where AAA is the rev that tag 1.9 was created and BBB is the rev that
tag 2.1 was created, and assumes that all development was happening
in the trunk.

> And the reverse - which
> was the minimum release to contain this fix?

svn info some_file

will tell you the last rev in which the file changed, you can compare
that rev to the rev in which your tag was created.

Or perhaps
svn blame some_file

where you can see the last rev in which a given line of code was
changed.

There are ways to get at the info, but you are correct, Subversion
lacks an efficient way to show where files were copied TO.

Scott
Received on Wed Oct 26 04:31:04 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.