This might seem like a strange title, but let's look at it for a moment. If subversion commit messages carry magic marker (RT #1234 in my case) I want to create RT comment (micro-blog post) with link back to SVN::Web repository (and thus commit which created comment in first place). Nice and circular :-)
First, install subversion post-commit hook in /srv/svn/repository/hooks/post-commit:
#!/bin/sh
REPOS="$1"
REV="$2"
/srv/svn/svn-rt-comment.pl $REPOS $REV
After that, create following script: