subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: Q: Changeset between two revisions
Date Mon, 08 Feb 2010 19:00:40 GMT
On Sun, Feb 7, 2010 at 10:09 PM, Manickavel, Senthil
<> wrote:
> Hi Daniel,
>        This command just gives the list of files changes. My requirements is to collect
>        files changes list and collect the listed files in both the revisions. Do u have
any idea
>        to do this?

Once you get a list of files, you can pass that list through a while
loop and process each file:

svn diff --summarize -r$FROM_REV:$TO_REV $URL_BASE | while read junk file_url
    file=${file_url#$URL_BASE/}	#URL REMOVED
    dir=$(dirname $file)
    [ -d "$dir" ] || mkdir -p $dir
    svn cat $file_url 3&>$file

David Weintraub

View raw message