Subversion -> Bugzilla 3.0 integration

I recently had to integrate Subversion with Bugzilla 3.0 and found that there were no real 'lightweight' methods of integration. Yes I could have used scmbug but it just seemed like too much of a pain to install.
The client I was performing the integration for had already written a small CGI to that would accept POST encoded bug comments from a CVS repository so the path of least resistance was to just hack on that and make the svn 'commit-emails.pl' script POST comments to bugzilla. The results are here for anyone who wants to use them. (thanks to Atomic Assets)

There are some caveats to using this code - it was written to scratch an itch so may not be suitable for you. If there is any interest shown by others in using this then I might get round to making it more robust. The first thing you need to know if that this depends on the svn users having local user accounts on the svn box so we can derive their bugzilla username (the username is parsed from a '.bzuser' file in the users ~. It contains a single email address

So ..... here is the code :)
Please feel free to (ab)use it and if you have any ideas for enhancement please let me know.
I will get some decent docs in the tarball soon - honest.

svn2bz3.tar.gz