Hi,

Manickavel, Senthil wrote:
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

A quick "svn help diff" shows a --summarize option.

Try

  "svn diff -r rev1:rev2 http://URL-to-repo --summarize"

and see if it matches your need. You may need to filter
the output slightly.

Regards
/Daniel


Reply via email to