Friday, November 13, 2009

Subversion: Changing Log/Commit Message

I'm posting this one because I only find myself looking it up whenever I need it, but to change the commit message for a particular revision for a Subversion repository, run:
  $ svn propset --revprop svn:log --revision 100 \
"New message, last was wrong." http://svn.mycompany.org/MyProject
This requires that the pre-revprop-change hook script is enabled. More on how to do that can be found here: Implementing Repository Hooks

No comments:

Post a Comment