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

Re: file Locking under Windows

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-06-10 15:11:12 CEST

Tobias Schäfer wrote:
> On Sunday 10 June 2007 13:38, Thomas Heckel wrote:
>> Hello,
>>
>> I'm using TortoiseSVN 1.4.3, Build 8645 - 32 Bit , 2007/02/04 09:40:57
>> under Windows XP (Version 5.1.2600).
>> I have some trouble with TortoiseSVN which I can't solve:
>>
>> Everytime I try to umount a disc volume TSVNCache.exe has locked the
>> Root-directory of the volume letter altough it doesn't contain and never
>> contained a SVN-managed directory. There was also any interactive access
>> through the Explorer-Interface of TortoiseSVN by me. This file lock of
>> TortoiseSVN prevents a safe unmount.
>
> I guess this was fixed in revision 9571, see
> http://nightlybuilds.tortoisesvn.net/latest/changelog.html#r9571
>
> Can you please try a 1.4.99 nightly build:
> http://nightlybuilds.tortoisesvn.net/latest/

That won't help with TrueCrypt at all.
I've reported this on their issue tracker (if you could call it that: no
way to search existing issues or even *look* at them!).
The problem is with TrueCrypt: it doesn't send the WM_DEVICECHANGE
message before it tries to unmount. And this message is required,
because apps (like the TSVN cache) which need to have a handle open on
drives can react to the message and release the handle.
But since TrueCrypt doesn't send this message, how should TSVN (or any
other app which needs this) know to close all open handles?

Please report this to the TrueCrypt guys. The bug is in their app, they
have to deal with it.

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 Sun Jun 10 15:11:49 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.