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

Re: need to figure out how to get a list of files changes and comments

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-25 06:23:51 CEST

On Mar 24, 2007, at 11:45, jonah wrote:

> I was wondering if someone knows a quick and clever way to get a
> list of all the files that have been changed with all the comments
> for that file. So as an example if we have:
>
>
>
> -svn_repo
>
> --File A
>
> --File B
>
> --File C
>
>
>
> And only File A and File C have been changed. I could get one
> output showing:
>
>
>
> File A
>
> Diff 1 – message 1
>
> Diff 2 – message 2
>
> ….
>
> ….
>
> ….
>
> Diff N – message N
>
>
>
> --------------------------------------------------
>
>
>
> File C
>
> Diff 1 – message 1
>
> Diff 2 – message 2
>
> ….
>
> ….
>
> ….
>
> Diff N – message N

You will probably need to write a script to accomplish this; there's
nothing built-in that I know of. The logic would be something along
the lines of using "svn log -v -rREVA:REVB PATH" to get all the log
messages and paths modified of PATH between revisions REVA and REVB
(I assume you will want to restrict revisions, at least as an option,
or you could omit the revisions if you want a complete history,
including file creation). Then, for each revision of each path, you
will use "svn diff -rREV PATH" to get the code changes.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 25 06:24:23 2007

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.