6

SVN repository keeps the log messages as properties attached to each revision. these properties are kept in db/revprops folder of repository with same numbering as revision. I needed to change format of the log messages and include some extra information. Format of the prop files (at least for version 7 uncompressed) is just key value in text format. I wrote a small program to do this and successfully edited the log messages.

Running SVN Log verifies the command line and shows updated log messages

SVN Log shows updated message

Problem

Opening TortoiseSVN in dev computers does not show the updated messages in list; however if developer right click on the revision item in list and select Edit log message the edited message will show up. Even checkout of whole repository to new folder still shows the old message.

Tortoise revision list is not updated

Question Above observation makes me believe that TortoiseSVN somehow caches the log messages in client computers. Where is this information stored?

bahrep
  • 29,961
  • 12
  • 103
  • 150
AaA
  • 3,600
  • 8
  • 61
  • 86

2 Answers2

9

Yes, TortoiseSVN caches the log messages and changed paths. You should be able to clear the cache via TortoiseSVN Settings | Log Caching | Cached Repositories.

Read TortoiseSVN Manual | Log Caching & Cached Repositories for further information.

NOTE: Log caching is a very helpful feature. Don't disable it and be careful when you enter log messages.

bahrep
  • 29,961
  • 12
  • 103
  • 150
  • 1
    Thank you. I found the cache folder under `%appdata%\TortoiseSVN\logcache` and deleted the log cache. the link you mentioned is a good read, as repository is in local network, I advised team to disable log caching too. – AaA Jun 30 '17 at 10:13
  • 1
    @AaA log caching is a very helpful feature. Don't disable it and be careful when you enter log messages. – bahrep Jun 30 '17 at 10:17
  • If a user changes the svn:date value from the TortoiseSVN's Show Log | right click menu | Show Revision Props, then they can go into "TortoiseSVN Settings | Log Caching | Cached Repositories", click on the cached repo and click the "Update" button. It will pull the latest timestamps from the server & display them in the Show Log window. No need to delete, nor disable anything! – Clomp Nov 06 '21 at 18:52
2

On the SVN setting go to log caching, and under tab 'global setting' untick the checkbox 'enable log caching'. enter image description hereclick 'ok' . it shall solve your problem

Ziv.Ti
  • 609
  • 7
  • 10