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

[TSVN] Query about how status cache works with its timeout

From: Russell Hind <rh_gmane_at_mac.com>
Date: 2005-04-24 11:04:14 CEST

I'm currently running nightly 3116. I have always and still see folders
that were marked as modified suddenly flicking back to unmodified in
explorer after a few minutes.

My guess is that this is the timeout.

I also have some folders which only contain other folders, no files.
These folders seem to change back to unmodified and never change back to
modified again after the timeout. Folders which have files in them
change when I next enter that folder and back out again, but for folders
that only contain folders, this doesn't seem to happen.

A quick thought about what might be happening: I guess when the timeout
occurs, the status in the cache gets reset to unmodified until the items
actual status is known. Hence the folders return to 'unmodified' until
the crawl has completed again.

A suggestion to improve this: When a timeout has occured for an item,
could the cache return its last known status until the new status is
known? So at startup, all files would still return un-modified until
their actual status was known, but once an item has been seen as
modified, after a timeout, the cache will still return its status as
modified while it tries to workout the correct status, until that
correct status is known?

I'm just wondering if this will help stop these 'modified' folders
changing to un-modified after a timeout?

Thanks

Russell

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Apr 24 11:06:08 2005

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.