David Elentok's Blog

About me

Subversion: Allow changing log messages

I've accidentally committed some changes to the source control without entering a log message, and when I tried editing the log message I got this error message:

Repository has not been enabled to accept revision propchanges; ask the administrator to create a pre-revprop-change hook

After googling a bit I found the solution:

Go to the hooks directory in the root of the repository, create a file named pre-revprop-change.bat with the following lines:

set PROPNAME=%4 if "%PROPNAME%" == "svn:log" ( exit /b 0 ) exit /b 1

This script will allow changing the "svn:log" property thus allowing users to rename commits.

Next:Firefox Extension: ShareMyBookmarks 0.1