Friday, September 30, 2011

Code to compare difference in working copy and specific branch of svn for multiple directories:

Code to compare difference in working copy and specific branch of svn for multiple directories:

find . -type d -maxdepth 1 -printf "%f\n" | while read -d $'\n' file
do
  echo "svn diff --old http://135.10.61.14/svn/DAWN/tags/Dev_Version0.11.5/$file  --new ./$file  > ../diff/$file.diff"
  svn diff --old http://135.10.61.14/svn/DAWN/tags/Dev_Version0.11.5/$file  --new ./$file  > ../diff/$file.diff
  #echo "$file"
done
Enhanced by Zemanta

No comments:

Post a Comment