You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jonah <Jo...@GlobalAdAgency.com> on 2007/03/24 16:45:13 UTC
need to figure out how to get a list of files changes and comments
Hi,
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
Thanks in advance!
Jonah
Re: need to figure out how to get a list of files changes and comments
Posted by Ryan Schmidt <su...@ryandesign.com>.
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