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

RE: Listing changed files and change notes

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Tue, 22 Apr 2008 15:35:38 -0500

> -----Original Message-----
> From: André-John Mas [mailto:andrejohn.mas_at_gmail.com]
> Sent: Tuesday, April 22, 2008 12:48 PM
> To: users_at_subversion.tigris.org
> Subject: Listing changed files and change notes
>
> Hi,
>
> I am needing to get a list of all the files that changed between two
> versions of a branch, and then display n characters of the comments of
> each corresponding history entry. We will be using this to generate a
> manifest of which files changed and why they were changed.
>
> If anyone has done this, possibly as an Ant task or Java tool, I would
> be interested if you could share what you have. If not, can anyone
> point me in the right direction so that I could so implement the tool
> myself?
>

Export the two branches and run diff or cmp or your favorite tree diff'ing tool. You could use 'svn log' to find the files that changed, however, if you delete a directory, the files under the deleted directory will not be listed.

I'm not an xslt weenie, but since 'svn log' has the --xml option, you should be able to create an xslt to rip out the comment fields and list modified files.
http://www.w3schools.com/xsl/

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-22 22:50:25 CEST

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