4 svn=svn://gcc.gnu.org/svn/$package
5 branch=branches/$package-9-branch
6 tag=tags/${package}_9_2_0_release
7 out=$package-branch.diff
9 # use filterdiff, etc to exclude bad chunks from diff
11 # remove revno's for smaller diffs
12 # replace svn nonexistend with '0' date, so patch will know that file needs to be removed from disk
13 sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' | \
14 sed -e 's,^\([-+]\{3\} .*\t\)(nonexistent)$,\11970-01-01 01:00:00.000000000 +0100,'
19 echo >&2 "Running diff: $old -> $new"
20 LC_ALL=C svn diff -x --ignore-eol-style --force --old=$old --new=$new > $out.svn.tmp
21 filter < $out.svn.tmp > $out.tmp
24 if cmp -s $out{,.tmp}; then
25 echo >&2 "No new diffs..."