From 041361ae4245c1742d2ca304a8dee8dda04aeb58 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Mon, 16 Nov 2009 10:45:54 +0000 Subject: review requests can now be created outside a ch... review requests can now be created outside a checkout --- test/review | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/review') 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 $@ -- cgit v1.2.3