SVN Source Code Control - Enabling Editing of Log Messages

Tags: SVN, revision, log, property change

To fix error:  “Repository has not been enabled to accept revision propchanges; ask the administrator to create a pre-revprop-change hook”

Solution:

To correct this, I needed to create a file in the “hooks” folder of my Subversion repository. On my system, it was located at C:\svn\repository\hooks. I created a file called “pre-revprop-change.bat”, and I set the contents to this:

rem Only allow log messages to be changed.

if “%4” == “svn:log” exit 0

echo Property ‘%4’ cannot be changed >&2

exit 1

Solution Source:

https://mattrefghi.com/blog/solutions/subversion/subversion-repository-has-not-been-enabled-to-accept-revision-propchanges/

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-repository-hooks.html

No Comments

You must log on to comment.