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

Re: TSVNCache

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2007-05-26 09:42:53 CEST

2007/2/10, Stefan KŁng <tortoisesvn@gmail.com>:
> 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.

I am currently having the same problem as Dieter: I can not remove a
USB harddisk becasue TSVNCache keeps the handles open.

When viewing what happens with Filemon (from Sysinternals), I see that
TSVNCache closes all the handles when I try to "eject" the drive using
the tray icon. But just 200 ms later it reopens the handles. Is there
some race condition going on, like TSVNCache detecting the closing
handles as a change on the drive and scans it again?

BTW, using TSVN 1.4.3

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat May 26 09:43:00 2007

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