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

Re: log cache bugs

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 25 Mar 2009 21:46:35 +0100

On Wed, Mar 25, 2009 at 19:57, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On Wed, Mar 25, 2009 at 19:25, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>> Another issue is reported here:
>> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1416518
>>
>> I've seen the same issue with the TSVN working copy: showing the log
>> from the wc root (trunk) worked ok, but the log for /trunk/src or
>> /trunk/src/TortoiseProc would loop endlessly. The same of course happens
>> when trying to show the blame for a file inside those subfolders.
>>
>> Running the log in the debugger shows that the assertion in line 1007 of
>> the file CacheLogQuery.cpp is hit. And as the comment there tells: it
>> causes an indefinite loop.
>>
>> Unfortunately, I cleared the log cache after that to see if that makes a
>> difference, and it does. But now I don't have the cache anymore :(
>>
>> I've added a fix in r15928 for this, but I guess you'd rather knew why
>> that situation occurred in the first place...
>
> Just happened again.
> Attached my log cache for the TSVN repository.
> My working copy is at 15930, mixed revision range (15929:15930).
>
> Showing the log for /src keeps looping.

In the assert in CCacheLogQuery::InternalLog(), lastReported shows
15639, while iterator->GetRevision() returns 15737.

Updating the wc to HEAD doesn't help either (not that I expected it
to, but it was worth a try to make sure that a mixed-rev wc has
nothing to do with it or that the wc is not at HEAD).

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1419887
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-25 21:46:43 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.