How do I change the log message for a revision after its been committed?
Log messages are kept in the repository as properties attached to each revision. By default, the log message property (svn:log) cannot be edited once it is committed. That is because changes to revision properties (of which svn:log is one) cause the property’s previous value to be permanently discarded, and Subversion tries to prevent you from doing this accidentally. However, there are a couple of ways to get Subversion to change a revision property. The first way is for the repository administrator to enable revision property modifications. This is done by creating a hook called “pre-revprop-change” (see this section in the Subversion book for more details about how to do this). The “pre-revprop-change” hook has access to the old log message before it is changed, so it can preserve it in some way (for example, by sending an email).
Related Questions
- I got this error message when I tried to log in to the system: You are already logged in as MyUserName, but this page requires different credentials. Whats wrong?
- Why do I see the message "Ignoring the negative user status from log!" in the License Statistics log?
- How do I change the log message for a revision after its been committed?