svnだけでできそうな気がするんだけどなー。
#!/bin/bash N=${1} M=${2} TARGET=${3} ENTRIES=`svn diff -r ${N}:${M} ${TARGET} | grep ^Index | sed -r "s|^Index: ||"` for i in ${ENTRIES} do DIRNAME=`dirname ${i}` FILENAME=`basename ${i}` svn export -r ${M} ${TARGET}/${i} mkdir -pv ${DIRNAME} mv -v ${FILENAME} ${DIRNAME} done
./diff_export.sh 100 105 svn://...