Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change SVN commit message retroactively?

I would like to re-write a big number of SVN commit messages to a different structure, e.g. prefix a category. From:

"foo" now accepts "bar" format for connection string.

I want

core - database - "foo" now accepts "bar" format for connection string.

Is there an easy way to do this that does not include dumping the whole repository using svndumpfilter?

I am working with TortoiseSVN on the client end, and VisualSVN on the server end. (VisualSVN is a wrapper around classic svn, which I can talk to through the command line as well.)

like image 750
Pekka Avatar asked Feb 02 '10 13:02

Pekka


People also ask

Can I change commit message in svn?

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.

How do I commit changes to svn?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.


1 Answers

Yes, commit messages can be changed. They are implemented as properties on revisions, similar to the regular file-properties.

In the TortoiseSVN Log window you can right click on a commit and select "Edit log message".

like image 88
JesperE Avatar answered Oct 15 '22 06:10

JesperE