... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2007-05-16

Enabling SVN Log Editing

You can enable Subversion log editing by installing a pre-revprop-change hook.  Here is a minimal Windows batch file that will do the trick (converted from the template UNIX shell script that comes with SVN):

@echo off
setlocal

set REPOS=%1
set REV=%2
set USER=%3
set PROPNAME=%4
set ACTION=%5

if "%ACTION%" == "M" if "%PROPNAME%" == "svn:log" exit 0

echo Changing revision properties other than svn:log is prohibited >&2
exit 1

Blog Archive