简体   繁体   English

Tortoise SVN日志消息不会更新

[英]Tortoise SVN Log messages does not update

SVN repository keeps the log messages as properties attached to each revision. SVN存储库将日志消息保存为附加到每个修订的属性。 these properties are kept in db/revprops folder of repository with same numbering as revision. 这些属性保存在存储库的db/revprops文件夹中,其编号与修订版相同。 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. prop文件的格式(至少对于未压缩的版本7)只是文本格式的关键值。 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验证命令行并显示更新的日志消息

SVN日志显示更新的消息

Problem 问题

Opening TortoiseSVN in dev computers does not show the updated messages in list; 在开发计算机中打开TortoiseSVN不会在列表中显示更新的消息; however if developer right click on the revision item in list and select Edit log message the edited message will show up. 但是,如果开发人员右键单击列表中的修订项并选择Edit log message ,则会显示已编辑的消息。 Even checkout of whole repository to new folder still shows the old message. 即使将整个存储库签出到新文件夹仍然显示旧消息。

乌龟修订清单未更新

Question Above observation makes me believe that TortoiseSVN somehow caches the log messages in client computers. 问题上面的观察让我相信TortoiseSVN以某种方式在客户端计算机中缓存日志消息。 Where is this information stored? 这些信息存储在哪里?

Yes, TortoiseSVN caches the log messages and changed paths. 是的,TortoiseSVN缓存日志消息和更改路径。 You should be able to clear the cache via TortoiseSVN Settings | 您应该能够通过TortoiseSVN设置|清除缓存 Log Caching | 日志缓存| Cached Repositories . 缓存存储库

Read TortoiseSVN Manual | 阅读TortoiseSVN手册| 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. 不要禁用它,并在输入日志消息时要小心。

On the SVN setting go to log caching, and under tab 'global setting' untick the checkbox 'enable log caching'. 在SVN设置上转到日志缓存,在“全局设置”选项卡下,取消选中“启用日志缓存”复选框。 在此输入图像描述 click 'ok' . 点击'确定'。 it shall solve your problem 它会解决你的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM