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

Re: Finding all changed files in a branch

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 14 Mar 2008 09:00:09 -0400

On Fri, Mar 14, 2008 at 8:56 AM, Merten, Alexander (External)
<Alexander.Merten.External_at_eads.com> wrote:
>
>
>
> Dear all,
>
> is there an easy way (e.g. using the command line tool and a batch file) to
> generate a list of all filenames that have been changed in a branch, since
> the branch was created?
>
> I didn't find information on this on the mailing list.
>
> Here is an example of what I mean:
>
> Branch_X/File1.ext Rev. 9
> Branch_X/File2.ext Rev. 4
> Branch_X/File3.ext Rev. 5
> Branch_X/File4.ext Rev. 9
> Branch_X/Folder_Y/File5.ext Rev. 8
> Branch_X/Folder_Y/File6.ext Rev. 8
> Branch_X/Folder_Y/File7.ext Rev. 8
>
> Branch_X was created at revision 10.
> We now have revision 25 and the situation looks like this:
>
> Branch_X/File1.ext Rev. 12 (!!!)
> Branch_X/File2.ext Rev. 4
> Branch_X/File3.ext Rev. 5
> Branch_X/File4.ext DELETED (!!!)
> Branch_X/Folder_Y/File5.ext Rev. 12 (!!!)
> Branch_X/Folder_Y/File6.ext Rev. 8
> Branch_X/Folder_Y/File7.ext Rev. 8
> Branch_X/Folder_Y/File8.ext Rev 24 (!!! Added)
>
>
> What I would want is the following list
>
> Branch_X/File1.ext Modified
> Branch_X/File4.ext Deleted
> Branch_X/Folder_Y/File5.ext Modified
> Branch_X/Folder_Y/File8.ext Added

svn diff --summarize -r <rev where branch was created>:HEAD <URL_TO_BRANCH>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-14 14:00:35 CET

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.