Log-Cache not updating

23 views
Skip to first unread message

Senjuu

unread,
Jan 8, 2019, 3:05:02 PM1/8/19
to TortoiseSVN
When I change a revision property it is not updated in the cache.

To do this would be "Show Log" -> "Show revision properties" -> "svn:date" -> "Edit" -> Change Value -> "OK"

Now the new date is not displayed. I think this should apply to the log-window as when I change the author or log message
over the context menu ("Edit author"). Also the new revision property values are not updated for "svn:author" and "svn:log".

Stefan

unread,
Jan 8, 2019, 3:08:32 PM1/8/19
to TortoiseSVN
The log cache is as the name says a cache. It is there so that already fetched messages don't need to be fetched again.
So if you change a message after it has been cached, you yourself have to clear the log cache or do a force refresh in the log dialog (Ctrl+F5).

Automatically refreshing the cache would defeat the purpose of the cache: it would require to fetch all the messages again.

Senjuu

unread,
Jan 8, 2019, 3:17:29 PM1/8/19
to TortoiseSVN
If I Click "Edit author" in the Log-Window it updates the value displayed for the author.
But when I do this over "Show revision properties" it does not. And the Tortoise must not fetch
all messages again. Only the one of the changed revision because the "svn log"-command
has a parameter to specify the revision/-range to be shown

Stefan

unread,
Jan 8, 2019, 3:21:01 PM1/8/19
to TortoiseSVN


On Tuesday, January 8, 2019 at 9:17:29 PM UTC+1, Senjuu wrote:
If I Click "Edit author" in the Log-Window it updates the value displayed for the author.

Yes, because when you edit, TSVN fetches the original value from the repository first.
 
But when I do this over "Show revision properties" it does not. And the Tortoise must not fetch
all messages again. Only the one of the changed revision because the "svn log"-command
has a parameter to specify the revision/-range to be shown

and how would you know which ones have changed without fetching all of them and comparing them to what you have?
log messages are not versioned, so you do not know which ones have changed.
That's also why you need to specifically enable a hook script on the repository server to even allow editing log messages.


Stefan

Senjuu

unread,
Jan 8, 2019, 3:33:18 PM1/8/19
to TortoiseSVN
You know which revision's properties have changed because you have to select the revision to change its properties.
Reply all
Reply to author
Forward
0 new messages