Posterous theme by Cory Watilo

Editing Subversion log messages after the fact and the pre-revprop-change hook

Having gotten Subversion integration working in Redmine, I wanted to add an issue reference to a log message where I had fixed the issue.
When I used TortoiseSVN to try to make the edit however, I got a nasty message saying I couldn’t change the log because there was no pre-revprop-change hook implemented at the server.  Ouch!
Apparently this is done intentionally so that you can’t go rewriting (presumably important) history willy-nilly.  There is no versioning on the version control properties themselves, so apparently log message and other revision property edits are destructive.
However, I’ve needed to do this more than once, so as the judge said, I’m going to allow it.
Now, how to implement it?  This article from StackOverflow is useful:
http://stackoverflow.com/questions/197224/what-is-a-pre-revprop-change-hook-in-svn-and-how-do-i-create-it