]> git.pld-linux.org Git - packages/lighttpd.git/blame - branch.sh
- not needed
[packages/lighttpd.git] / branch.sh
CommitLineData
68f8f1d1 1#!/bin/sh
51e3e0fc
ER
2set -e
3svn=svn://svn.lighttpd.net/lighttpd
642535da 4tag=lighttpd-1.4.23
68f8f1d1 5branch=lighttpd-1.4.x
51e3e0fc 6
01fdb465
ER
7d=$-
8filter() {
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
30old=$svn/tags/$tag
31new=$svn/branches/$branch
01fdb465
ER
32echo >&2 "Running diff: $old -> $new"
33LC_ALL=C svn diff --old=$old --new=$new | filter > lighttpd-branch.diff.tmp
cc37bbfb 34
01fdb465
ER
35if cmp -s lighttpd-branch.diff{,.tmp}; then
36 echo >&2 "No new diffs..."
37 rm -f lighttpd-branch.diff.tmp
38 exit 0
39fi
40mv -f lighttpd-branch.diff{.tmp,}
This page took 0.037283 seconds and 4 git commands to generate.