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