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

Q: Changeset between two revisions

From: Manickavel, Senthil <senthil.manickavel_at_philips.com>
Date: Fri, 5 Feb 2010 10:57:14 +0100

Hi,
            I would like to create a changeset between two revisions. I have created a script to do that with svn commands. But this collects all the files in both the revisions. Is it possible for me to collect only the changed file?

Script

REM Create root folder
md Changeset
cd Changeset

REM Collect old revision files.
md %1
cd %1
svn checkout -r %1 %3

REM Collect new revision files.
cd..
md %2
cd %2
svn checkout -r %2 %3

REM Create changed files list
cd..
svn log -r %1:%2 %3 -v > ChangedFiles.txt
cd..

Regards,
Senthil

________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
Received on 2010-02-05 11:36:55 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.