Archive for March, 2012

Change SVN commit message

This day finally came when I copied/paste the wrong bug number into the SVN commit message. Usually errors in SVN commit messages can be ignored but this particular one may lead to much confusion later. Luckily there was a way to edit the commit message after it’s committed. As usual I paste the command here instead of just the reference link as I have already some posts that have dead reference links.


svn propset -r 12345 --revprop svn:log "#1234 description"

where 12345 is the revision number, and text in quotes is the corrected commit message.

I still prefer to be cautious to commit messages correctly, but humans are just humans…

Ref: http://subversion.apache.org/faq.html#change-log-msg

Comments