]>
Commit | Line | Data |
---|---|---|
68f8f1d1 | 1 | #!/bin/sh |
51e3e0fc ER |
2 | set -e |
3 | svn=svn://svn.lighttpd.net/lighttpd | |
642535da | 4 | tag=lighttpd-1.4.23 |
68f8f1d1 | 5 | branch=lighttpd-1.4.x |
51e3e0fc | 6 | |
01fdb465 ER |
7 | d=$- |
8 | filter() { | |
9 | set -$d | |
10 | # Excluding files which change version or were not in dist tarball | |
b31955c6 ER |
11 | filterdiff \ |
12 | -x 'ChangeLog' \ | |
13 | -x 'CMakeLists.txt' \ | |
14 | -x 'configure.in' \ | |
15 | -x '.cvsignore' \ | |
16 | -x 'doc/.cvsignore' \ | |
17 | -x 'SConstruct' \ | |
18 | -x 'src/CMakeLists.txt' \ | |
19 | -x 'src/config.h.cmake' \ | |
20 | -x 'src/.cvsignore' \ | |
21 | -x 'src/mod_uploadprogress.c' \ | |
22 | -x 'tests/.cvsignore' \ | |
23 | -x 'tests/mod-extforward.conf' \ | |
ae21d33d | 24 | -x 'configure.ac' \ |
b31955c6 | 25 | | \ |
01fdb465 ER |
26 | # remove revno's for smaller diffs |
27 | sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' | |
28 | } | |
29 | ||
51e3e0fc ER |
30 | old=$svn/tags/$tag |
31 | new=$svn/branches/$branch | |
01fdb465 ER |
32 | echo >&2 "Running diff: $old -> $new" |
33 | LC_ALL=C svn diff --old=$old --new=$new | filter > lighttpd-branch.diff.tmp | |
cc37bbfb | 34 | |
01fdb465 ER |
35 | if cmp -s lighttpd-branch.diff{,.tmp}; then |
36 | echo >&2 "No new diffs..." | |
37 | rm -f lighttpd-branch.diff.tmp | |
38 | exit 0 | |
39 | fi | |
40 | mv -f lighttpd-branch.diff{.tmp,} |