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

Re: [TSVN] TSVNCache keeps handles to unversioned folders

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-10 17:55:25 CEST

Markus Gölzner wrote:
> Issue report
> Category: Cache
> Reported Version: 1.02.0004.4479
> Details:
> TSVNCache (sometimes) keeps handles to unversioned folders. One is unable to
> delete or rename these folders.
>
> Steps to reproduce:
> 1. Configure a include path for TSVN. In this example the included path is
> "O:\Projects" on a mapped network drive.
> 2. Make sure that "O:\Projects" has some subfolders and files in it and none
> of the folders are under version control. One subfolder under "O:\Projects"
> is named "Test" for example.
> 3. Open Windows Explorer and navigate to "O:\Projects".
> 4. Try to rename "Test". It cannot be renamed.
> 5. Use "Process Explorer" or a similar tool to verify that "TSVNCache.exe"
> is the only process that owns a handle to the folder "Test" and therefore
> prevents the rename to succeed. In my case the complete name of the handle
> as shown in "Process Explorer" was
> "\Device\LanmanRedirector\;O:00000000000106e5\Server\Data\Markus\VCSWORK\Pro
> jects\Test". The drive O: was mapped to "\\Server\Data\Markus\VCSWORK\".

I can't reproduce this with a mapped dir from another XP machine. Maybe
your network connection isn't working properly and looses messages (like
CloseHandle() ), or your server might not be set up correctly, or you
have another app interfering with the cache (virus scanners are known to
cause such problems, because they lock files which then prevents the
cache from closing those files properly).

Stefan

-- 
        ___
   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 Mon Oct 10 16:59:02 2005

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