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

Re: TSVNCache locking directories

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 07 Feb 2008 19:27:34 +0100

Josha Foust wrote:
> Stefan Küng <mailto:tortoisesvn_at_gmail.com> wrote:
>> Josha Foust wrote:
>>> On TSVN nightly v11992 on XP SP2, I am seeing TSVNCache lock a
>>> number of my top level WC directories and some second level
>>> directories. Exiting TSVNCache obviously fixes the problem, but
>>> when it comes back it seems to immediately lock some of the
>>> directories. The TSVNCacheWindow doesn't show that it has
>>> crawled anything. Later crawling tends to lock more directories,
>>> but the pattern to which ones it locks is a mystery to me.
>> The cache doesn't lock the folders, it simply has a handle open
>> (with full shared rights) to monitor those folders. What the 1.4.x
>> version did on the drive root, the cache now does on the working
>> copy root.
>>
>> Stefan
>
> I am seeing handles on directories directly below WC root folders.
> It seems kind of random so I don't know what is causing it.

People had big problems with TSVNCache locking the drive root. So now
the cache only opens watcher handles on working copies. Since it does
not know the working copy root until the explorer asks for the status of
it, it watches every wc folder it knows as the top folder.
Once you show the overlays of your working copy root, the handles to the
subfolders will be released and only the wc root will have an open handle.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-07 19:27:46 CET

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

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