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

Re: TSVNCache

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-02-10 11:53:41 CET

Dieter Kuhn wrote:

> I recently got across the following issue (WinXP, SVN 1.4.3):
>
> When attaching an USB-Harddrive, copying something on it and trying
> to unplug, Windows doesn't allow to do so.

It does, at least if the drivers are written as they should.
You have to right-click on the drive and choose "eject drive" from the
context menu. Then windows will send a notification to ask all apps to
release their handles. The cache will honor that notification and shut
down all handles of that drive.
You may have to do it twice, because windows doesn't wait - if the cache
needs a second or two to really safely close the handle, windows will
just not wait but assume the app can't close the handle and error out.
The second time you try, the cache will already have closed the handle
and windows doesn't have to wait, so it will succeed.

> Using ProcessExplorer i found out that the TSVNCache process still
> has some file handles open, although there is no ".svn" folder on the
> drive.

It's not a file handle.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Feb 10 11:54:02 2007

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.