Thursday, August 2, 2012

How to update SVN old commit comment/log-message

Under your repository folder (Eg. /opt/repos/ob/hooks/), there is a file called pre-revprop-change.tmpl You need to clone it to a file pre-revprop-change (basically remove the extension), chmod a+x to it. Then it should works.

After that use TortoiseSVN to change the comments or use command as follows.

svn propset svn:log --revprop -r 9242 "My corrected log message" svn://192.168.1.129/opt/repos/ob/Common2/branches/myproject

Labels: