[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: Sat, 02 Feb 2008 17:43:04 +0100

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.

> I've been using Process Explorer to look at the directory locks.
> Crawling appears to unlock everything, but when it's done a similar set
> of directories tends to be locked. The weird thing to me is that when
> Process Explorer shows that TSVNCache has a handle open to a directory,
> sometimes I can rename it and sometimes I can't. Is this expected
> behavior?

You should be able to rename and even delete the folder. If you can't,
then something is wrong. The cache should never have a handle open with
non-shared rights.
Unless of course you try to rename the folders more than once. Windows
then has some problems with the shared rights...


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

Received on 2008-02-02 17:43:25 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.