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

Re: list of all files when tagging

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Tue, 21 Jul 2009 03:47:23 -0500

On Jul 21, 2009, at 03:23, Craig McQueen wrote:

> David Weintraub wrote:
>>
>>> I would like to have a complete overview of all files contained
>>> in the folder ".../tags/name" so that I am able to use the search
>>> pannel of TSVN to find files contained in more than one release.
>>> Is that possible with SVN?
>> Subversion can help you find this information, but you'll have to
>> parse that information via some sort of scripting tool. For
>> example, let's say I determined that REL-1.0 was revision 12345
>> off of svn://repos/foo/branches/1.0 and REL-1.1 was revision 23456
>> off of svn://repos/foo/branches/1.0. Doing this will give me a
>> list of all files that were changed: $ svn -r12345:23456 log -v
>> svn://repos/foo/branches/1.0 It will also list all commit
>> comments, and whether the file was added, deleted, moved, etc.
>> Plus, if a particular file was changed more than once, it will be
>> duplicated on this list. A little parsing via a scripting language
>> (or even better a scripting language that uses the Subversion API)
>> will give me a list of exactly which files changed. Is this what
>> you are looking for?
> We want to do something like this, but not for tags. I imagine many
> folks would want to do this:
>
> * Report the difference between two SVN revisions.
> * At the first level, list all the files that have changed.
> * For each file, list all the changes to the file.
>
> This seems like it would be a desirable format for many software
> teams when generating software release notes, so does anyone know
> of any publicly-available scripts to manipulate the svn log data to
> create a report in this format?

"svn diff -rA:B URL" shows you the difference of the repository
at URL between revision A and B.

Or if you want the difference between two tags, that's simply
"svn diff URL_TO_TAG_A URL_TO_TAG_B"

Add "--summarize" if you just want the filenames and don't
want the actual changes to the files.

Is that what you need?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372855

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-21 10:48:52 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.