Log Cache

The Log Cache is the local data storage of the TMate plugin, which is also used by other SmartSVN commands, for instance the Log command (Log) itself. It stores and supplies the raw log information as received from the server and can supply them for various commands later on. This increases log performance significantly and also leads to reduced network traffic.

When the Log Cache is accessed for the first time for a certain repository, you may choose which parts of the repository should be indexed by the cache. In general it is advisable to select Create cache for whole repository at to let SmartSVN index the whole repository. The reason is that logs of a certain 'module' can have links to other modules, because of the way Subversion's Copy mechanism works. Sometimes repositories can be very large and you are interested only in a few modules of the whole repository. In this case it may be more efficient to select Create cache only for the current module at. However this may lead to incomplete logs due to the reasons stated above.

Keeping the Log Cache up-to-date is automatically handled by SmartSVN. All log-related commands always query the repository for the latest logs, before querying the Log Cache and the TMate plugin can update the cache frequently, if Automatic Refresh has been configured in the settings (Settings).

Log results (for instance used by the Log command) from the Log Cache are in general identical to results obtained when querying the server directly. However there can be differences for following situations:

In such cases, you should use Tools|Rebuild Log Cache and select the corresponding Cache to completely rebuild the Log Cache and hence fetch the modified log data for the previously cached revisions.

Tip

The Log Cache is stored in the subdirectory log-cache in SmartSVN's home directory. If you should encounter problems when rebuilding the cache or you need to get rid of the cached information for a certain repository, you can find out the corresponding numbered subdirectory or you can remove the whole log-cache directory. You should never change these files while SmartSVN is running, otherwise the results will be unpredictable.