diff options
author | James Iry <james.iry@typesafe.com> | 2012-12-05 06:08:38 -0800 |
---|---|---|
committer | James Iry <james.iry@typesafe.com> | 2012-12-05 07:56:56 -0800 |
commit | 924633e17a88e9f9d3d6be65036261125d5da04d (patch) | |
tree | 7c3d66da05860cfefb1190be9a78d443e379da07 /test/review | |
parent | 4b2330b3d3db4263a8b1e19b792596dd60d79045 (diff) | |
download | scala-924633e17a88e9f9d3d6be65036261125d5da04d.tar.gz scala-924633e17a88e9f9d3d6be65036261125d5da04d.tar.bz2 scala-924633e17a88e9f9d3d6be65036261125d5da04d.zip |
SI-6770 Removes unused and unusable review scripts
Delete review and postreview.py scripts since they depend on SVN and aren't necessary under the github pull-request system.
Diffstat (limited to 'test/review')
-rwxr-xr-x | test/review | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/review b/test/review deleted file mode 100755 index e1ccb9c0af..0000000000 --- a/test/review +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -if [ -z $1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ] || [ "$1" = "-?" ]; then - echo "Usage: `basename $0` [rev] [args]\n" - echo " [rev] : either the revision number without leading 'r' (post-commit)," - echo " or '-loc' to create a review from current local changes (pre-commit)\n" - echo " [args] : optional arguments:" - echo " -r ID existing review request ID to update\n" - exit 1 -fi - -POSTREVIEW=`dirname $0`/postreview.py - -if [ "$1" = "-loc" ]; then - echo "creating review request from local changes..." - REVARG="" - LOG="" - SUMMARY="local changes" - REPO="" -else - REV=$1 - PREV=`expr $REV - 1` - if [ $? -ne 0 ]; then - echo "argument revision not a number: $REV" - exit 1 - fi - - echo "creating review request for changeset $REV..." - - LOG="`svn log http://lampsvn.epfl.ch/svn-repos/scala -c $REV`" - if [ $? -ne 0 ]; then - echo "could not get svn log for revision $REV" - exit 1 - fi - - REVARG="--revision-range=$PREV:$REV" - SUMMARY="r$REV" - REPO="--repository-url=http://lampsvn.epfl.ch/svn-repos/scala" -fi - - -shift # remove parameter $1 (revision) - -python $POSTREVIEW --server="https://chara2.epfl.ch" $REVARG --summary="$SUMMARY" --description="$LOG" $REPO -o $@ |