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

Re: Log Cache problem on a branch doesn't show latest revision

From: Lübbe Onken <luebbe.tortoisesvn_at_googlemail.com>
Date: Thu, 10 Sep 2009 17:02:40 +0200

Hi Stefan,

you wrote:
> To narrow the problem down, please do the following
>
> * Create a backup of the log cache file (or whole folder).

Done

> * Export cache content: "Settings -> Cached Repos ->
> select the broken one -> Export".

Done

> * Show "Details" for the same cache. Is "Skip Ranges"> 0?

Yes
> Is "Max Revision" equal or greater than the missing one?

Yes

> * Does "Update" (same place) fix the problem?
> If so, restore from backup.

Yes

> * Is "Settings -> Log Cache -> HEAD Timeout" set?
> If so, set it to 0 and retry.

it is set to "poweruser" :) means 300. Retry what? I set it to 0 and
"showed log" again, but the revision doesn't appear. Only when I press
Ctrl-F5

> * Go to the CSV files exported earlier. Open *.revisions.csv
> in an arbitrary text editor (it is sorted by revision).
> Does it contain an entry for the missing revision?

No

> * Log for the project root (e.g. via repo browser).
> Does the revision show up?

A strange thing happens here. It looks like it is something
"timing/timeout" related. FYI, the log cache is still in HEAD Timeout 0
mode.

First try, fire up the repo browser:
The revision is not visible for "/branches/branch-x", but in every level
above. So it is visible for "/" and "/branches".

Then "quickly" after having shown the log for "/" in the repo browser:
Show log in repobrowser for "/branches/branch-x" -> revision not there
Showed log in working copy -> revision not there

A "few" seconds later:
Show log in repobrowser for "/" -> revision there
Show log in repobrowser for "/branches/branch-x" -> revision *there*
Showed log in working copy -> revision *there*

I can't tell if the second "show log" in the repo browser root triggered
some event or if it just needed a few (15-20) seconds to consolidate and
save the data, and the revision was available from now on...

> * Does the revision graph show all revisions (make sure
> to show all revisions)?

Yes it shows all revisions, but it also looks like the graph fetches all
revisions before it paints itself.

Cache is repaired afterwards, like after update in the settings dialog
(same size, I didn't compare the files).

I still have the cache backup file, so I can play around with it a bit
more, but now I'm off -> home.

Thanks for your help.

Cheers
- Lübbe

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net  PGP Key ID 0x23F511AB
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2393320
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-10 17:02:45 CEST

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.