6

Can you edit a log if you made a mistake when specifying some commit comments?

bahrep
  • 29,961
  • 12
  • 103
  • 150
PositiveGuy
  • 46,620
  • 110
  • 305
  • 471

2 Answers2

10

By default, you cannot edit the log message. In order to change this default behavior, you (or your SVN administrator) need to set up an appropriate pre-revprop-change hook.

The online "Version Control with Subversion" book describes what a pre-revprop-change hook is and how to set one up.

This StackOverflow entry has pre-revprop-change content that you can cut-and-paste to enable log message edits.

Community
  • 1
  • 1
Brandon E Taylor
  • 24,881
  • 6
  • 47
  • 71
4

Open the log messages window (Show Log), right click on log message and choose "Edit log message".

Otávio Décio
  • 73,752
  • 17
  • 161
  • 228
  • I get this error though: "a DAV request failed; It's possible that the repository's pre-revprop-change hook either failed or is non-existet" oh well. Thanks for that did not see it before. – PositiveGuy Sep 18 '09 at 18:49
  • You may need to add a hook for property changes; I had this error after upgrading from 1.4 to 1.6. – Otávio Décio Sep 18 '09 at 18:58
  • 1
    Other team members may have to refresh the TortoiseSVN log cache by Ctrl+F5 in order to see the changes. https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-showlog.html#tsvn-dug-showlog-refresh – broslav Mar 03 '16 at 08:42