diff options
Diffstat (limited to 'bin/cws-extract-svn')
-rwxr-xr-x | bin/cws-extract-svn | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/bin/cws-extract-svn b/bin/cws-extract-svn deleted file mode 100755 index b5934d439..000000000 --- a/bin/cws-extract-svn +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -usage() { - echo 1>&2 << EOF -cws-extract [-s] cws_name -Create a patch from an up-stream CWS suitable for ooo-build. - - -s Don't ignore changes in whitespace. -EOF - exit 1; -} - -echo "Warning! This is the SVN version of cws-extract, use -cws-extract-cvs for the older OOo CWSes." - -CWS="" -DIFFPARAMS="-ubwp" -while [ -n "$1" ] ; do - case "$1" in - -s) DIFFPARAMS="-up" - ;; - *) CWS="$1" - ;; - esac - shift -done - -[ -n "$CWS" ] || usage - -# log of the branch only -MERGE_BASE=`svn log --stop-on-copy "svn+ssh://svn@svn.services.openoffice.org/ooo/cws/$CWS" | \ - grep 'CWS-TOOLING: \(rebase\|create\) CWS' | head -n 1 | \ - sed 's/^.*trunk@\([0-9]\+\).*$/\1/'` - -if [ -n "$MERGE_BASE" ] ; then - svn diff -x "$DIFFPARAMS" "svn+ssh://svn@svn.services.openoffice.org/ooo/trunk@$MERGE_BASE" "svn+ssh://svn@svn.services.openoffice.org/ooo/cws/$CWS" > "cws-$CWS.diff" -fi |