diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-11-16 10:45:54 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-11-16 10:45:54 +0000 |
commit | 041361ae4245c1742d2ca304a8dee8dda04aeb58 (patch) | |
tree | 0bc537634d3e5372bdc3cd3f7c007c5a938ecee7 /test | |
parent | ed4caf3fe83c9dcb67d9fcd9d97cf4ebd8960e7d (diff) | |
download | scala-041361ae4245c1742d2ca304a8dee8dda04aeb58.tar.gz scala-041361ae4245c1742d2ca304a8dee8dda04aeb58.tar.bz2 scala-041361ae4245c1742d2ca304a8dee8dda04aeb58.zip |
review requests can now be created outside a ch...
review requests can now be created outside a checkout
Diffstat (limited to 'test')
-rwxr-xr-x | test/review | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/review b/test/review index c727db6ac6..edefe679fa 100755 --- a/test/review +++ b/test/review @@ -16,6 +16,7 @@ if [ "$1" = "-loc" ]; then REVARG="" LOG="" SUMMARY="local changes" + REPO="" else REV=$1 PREV=`expr $REV - 1` @@ -29,14 +30,15 @@ else LOG="`svn log -c $REV`" if [ $? -ne 0 ]; then echo "could not get svn log for revision $REV" - exit 1 + LOG="revision $REV" fi REVARG="--revision-range=$PREV:$REV" SUMMARY="r$REV" + REPO="--repository-url=https://lampsvn.epfl.ch/svn-repos/scala" fi shift # remove parameter $1 (revision) -python $POSTREVIEW --server="https://chara2.epfl.ch" $REVARG --summary="$SUMMARY" --description="$LOG" -o $@ +python $POSTREVIEW --server="https://chara2.epfl.ch" $REVARG --summary="$SUMMARY" --description="$LOG" $REPO -o $@ |