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

Re: how can we get list of all tags for a file

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-06-07 16:00:43 CEST

Aditya Gandhi wrote:

> I think the most important use of this will be to figure out what has
> changed between two baselines i.e. changes between two tags
> Say for example I baseline my requirements/ design and code at a point
> of time and do a release. Before the next release I would like to be
> able to create a report of what all has changed since the previous tag
> in my application. (note: dates do not work for me so I need to rely on
> tags)

You can obviously get at the actual file changes by doing a diff between
the two tags (or in your case tag and trunk). More than that, you can
use 'svn log -r' to get at the changes committed to the trunk since
whatever revision you made the tag (which you have to get at via 'svn
log' on the tag). If you use both '-q -v' options to 'svn log' you will
get the changed path information for each revision, but not the
individual log messages themselves. It shouldn't be too hard to write a
quick script to grab the output from 'svn log -q -v -r ####' and produce
a nice sorted report related what files were changed when.

It's not that the imformation doesn't exist, it's just that is not
stored seperatedly in the repository (like in CVS) and needs to be
extracted when needed.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 7 16:02:11 2004

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.