You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Merten, Alexander (External)" <Al...@eads.com> on 2008/03/14 12:56:20 UTC
Finding all changed files in a branch
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
Thanks ahead for your help :-)
Alexander
Re: Finding all changed files in a branch
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Finding all changed files in a branch
Posted by Andy Levy <an...@gmail.com>.
On Fri, Mar 14, 2008 at 8:56 AM, Merten, Alexander (External)
<Al...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org