]> git.pld-linux.org Git - packages/php-pecl-sasl.git/blob - branch.sh
add module load test
[packages/php-pecl-sasl.git] / branch.sh
1 #!/bin/sh
2 set -e
3 pecl=sasl
4 svn=http://svn.php.net/repository/pecl/$pecl
5 tag=RELEASE_0_1_0
6 out=branch.diff
7
8 d=$-
9 filter() {
10         set -$d
11         # remove revno's for smaller diffs
12         sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
13 }
14
15 old=$svn/tags/$tag
16 new=$svn/trunk
17 echo >&2 "Running diff: $old -> $new"
18 LC_ALL=C svn diff --old=$old --new=$new | filter > $out.tmp
19
20 if cmp -s $out{,.tmp}; then
21         echo >&2 "No new diffs..."
22         rm -f $out.tmp
23         exit 0
24 fi
25 mv -f $out{.tmp,}
This page took 0.078323 seconds and 3 git commands to generate.