On Sun, Feb 7, 2010 at 10:09 PM, Manickavel, Senthil
<[email protected]> wrote:
> Hi Daniel,
> This command just gives the list of files changes. My requirements is
> to collect the
> 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
do
file=${file_url#$URL_BASE/} #URL REMOVED
dir=$(dirname $file)
[ -d "$dir" ] || mkdir -p $dir
svn cat $file_url 3&>$file
done
--
David Weintraub
[email protected]