[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Log messages don't always update

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 15 Oct 2009 20:22:45 +0200

On 15.10.2009 17:13, Dennis Jones wrote:
> Hi,
>
> I am using the current version (TortoiseSVN 1.6.5, Build 16974 - 64 Bit ,
> 2009/08/20 08:13:46)
>
> We had a situation where someone committed some files yesterday but forgot
> to enter a log message for their commit. I sent that user an email and
> asked them to edit the log message for that revision. This morning, I
> received a reply saying that they had edited the log message. So I
> displayed the log messages on my machine to verify their edit, but the
> Message column was still blank. At first I thought the user had made a
> mistake. So I right-clicked and selected "Edit log message" on that
> revision and I was able to see their new log message in the editor. I
> clicked "Cancel" and then clicked "Refresh" on the log messages dialog, but
> it still wouldn't display their message. Then I opened the log message
> again, and this time I clicked "OK" to close it, and now the log message
> appears in the list (as if I had edited the log message myself).
>
> Is this a known bug?
>
> I checked the current ChangeLog and found an entry for version 1.6.6 that
> sounds like it could be related to the problem, but I am not sure:
>
> - BUG: Under rare conditions, missing data would not be added
> to the log cache. (Stefan Fuhrmann)
>
> Can anyone confirm that my issue is the same as the one mentioned in the
> changelog?
>
> Can anyone else replicate this behavior?

Everyone can reproduce this, because it is by design.
The log cache is the reason: it caches already fetched log entries on
the disk so they won't have to be fetched from the repository anymore.
But because those entries are not fetched from the repository anymore,
any changes to such entries are not shown, because they're not in the
cache. Those entries were changed in the repository after they've been
cached.
To refresh the cache, you have to either delete the whole cache
(settings dialog) or hit Ctrl-F5 in the log dialog. Only then will the
log dialog fetch the entries again from the repository.

Or you could disable the log cache if you don't want it.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2407981
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-15 20:22:56 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.