Subversionのpost-commitフックを利用してReview Boardのレビューリクエストを自動的に作成する。 #!/bin/sh # /var/lib/svn/myrepository/hooks/post-commit export LANG="en_US.UTF-8" REPOS="$1" REV="$2" REVPREV=`expr $REV - 1` svnauthor=`svnlook author $REPOS rev $REV` svnlog=`svnlook log $REPOS rev $REV` svnlogfirst=`echo $svnlog | head -n1` /usr/bin/svn diff -r $REVPREV:$REV file:///var/lib/svn/myrepository | /usr/bin/post-review \