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

Re: What does TSVNCache do anyway?...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-12 07:32:27 CEST

Peter Yamamoto wrote:
> Other than thrash my disk?

Nice comment. Thanks!
Of course, we wrote that cache only to annoy you.

> Is it really just trying to keep up-to-date status info?


> It would seem to me that a filemon.exe type approach would be a lot more
> friendly than the disk thrashing type behavior of TSVNCache? Eg monitor
> file operations for changes.

Check the code. That's what it does.

> That way when I'm doing something completely different on my machine, it
> doesn't have to come to a crawl because TSVNCache decides to walk the
> directories "tsvncaching" for no reason.
> Am I missing something here?

The cache monitors your disk for changes. When a change is detected, it
has to crawl the working copy again. So why does it have to do that,
after all, it monitors the changes? Well, a detected change doesn't tell
anything about *what* was changed inside a file. You could have modified
a versioned file, or you could have modified it so that it now is the
same as it was before (you reverted your changes manually). So, it must
fetch the status for that folder again.
And since the overlays are recursive, it has to recrawl the whole
working copy to make sure the overlays reflect the correct status up and
down the whole tree.

If it bothers you that much, you have two options:
* rename the TSVNCache.exe process and reboot
* use a nightly build from trunk and disable the cache in the settings.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Apr 12 07:32:41 2006

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