[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: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Fri, 14 Mar 2008 14:55:23 -0500

On Mar 14, 2008, at 08:00, Andy Levy wrote:

> On Fri, Mar 14, 2008 at 8:56 AM, Merten, Alexander wrote:
>
>> 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>

Or look into

svn log -v <URL_TO_BRANCH> --stop-on-copy

---------------------------------------------------------------------
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 20:56:30 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.