diff options
| author | Luca Falavigna <dktrkranz@debian.org> | 2010-01-02 20:56:35 +0100 |
|---|---|---|
| committer | Luca Falavigna <dktrkranz@debian.org> | 2010-01-02 20:56:35 +0100 |
| commit | 64c458487151933ee0ba093cf4ac69e177d9be37 (patch) | |
| tree | f6e3755704f53406eea85532e4ffe5d5ef50b7f0 /bin/scons-review.sh | |
| parent | 2aec9cc58398cac1376509a7d75edb83b41f984e (diff) | |
| parent | 72c578fd4b0b4a5a43e18594339ac4ff26c376dc (diff) | |
Merge commit 'upstream/1.2.0.d20091224'
Diffstat (limited to 'bin/scons-review.sh')
| -rwxr-xr-x | bin/scons-review.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/scons-review.sh b/bin/scons-review.sh new file mode 100755 index 0000000..f126333 --- /dev/null +++ b/bin/scons-review.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +case "$1" in +'') exec svn diff --diff-cmd diff -x -c $* ;; +-m) svn diff --diff-cmd diff -x -c $* | alpine scons-dev ;; +*) echo "Error: unknown option '$1"; exit 1 ;; +esac + +# OLD CODE FOR USE WITH AEGIS +# +#if test $# -ne 1; then +# echo "Usage: scons-review change#" >&2 +# exit 1 +#fi +#if test "X$AEGIS_PROJECT" = "X"; then +# echo "scons-review: AEGIS_PROJECT is not set" >&2 +# exit 1 +#fi +#DIR=`aegis -cd -dd $*` +#if test "X${DIR}" = "X"; then +# echo "scons-review: No Aegis directory for '$*'" >&2 +# exit 1 +#fi +#(cd ${DIR} && find * -name '*,D' | sort | xargs cat) | pine scons-dev |
