Revision: 54515
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 30, 2011 23:15 by isholgueras
Initial Code
#!/bin/bash # usage: ./diffpackage.sh <init_version> <final_version> # example: ./diffpackage.sh 303 315 repo_url=https://127.0.0.1/usvn/svn/MyProyect/trunk # Export diff files for i in $(svn diff --summarize -r $1:$2 $repo_url | awk '{ print $2 }'); do p=diff_$1_$2/$(echo $i | sed -e "s{$repo_url/{{"); mkdir -p $(dirname $p); svn export $i $p; done
Initial URL
Initial Description
This script get (in the correct tree folder structure) all files changed between 2 revisions. NOTICE: This scripts does not advice about files deleted
Initial Title
Get files changed between 2 revisions in SVN
Initial Tags
svn, Bash
Initial Language
Bash