3 svn=http://varnish.projects.linpro.no/svn
4 tag=varnish-2.0.4/varnish-cache
5 branch=2.0/varnish-cache
11 # Excluding files which change version or were not in dist tarball
15 # remove revno's for smaller diffs
16 sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
20 new=$svn/branches/$branch
21 echo >&2 "Running diff: $old -> $new"
22 LC_ALL=C svn diff --old=$old --new=$new > $out.tmp
23 revno=$(sed -ne 's,^[-+]\{3\} .*\t(revision \([^0][0-9]*\))$,\1,p' $out.tmp | sort -u)
24 echo >&2 "Revision $revno"
25 sed -i -e "1i# Revision $revno" $out.tmp
26 filter < $out.tmp > $out.tmp2 && mv -f $out.{tmp2,tmp}
28 if cmp -s $out{,.tmp}; then
29 echo >&2 "No new diffs..."