If you know your way around Java, you can use SvnKit to do browse, search and God knows what with your Subversion server.
After that, you can package your program and invoke it either via an Ant task or a shell script.
It's quite a "brute force" solution, but once you master SvnKit, you can really do lots of cool things.