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

Re: TSVNCache shouldn't lock removable drives

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-06-14 12:23:14 CEST

On 13/06/07, Bill Baxter <wbaxter@gmail.com> wrote:
> I've got a removable USB drive. I've noticed that if I start up Windows
> with the drive plugged in from the start, it won't let me safely remove the
> drive.
> I just discovered (using UnLocker
> http://ccollomb.free.fr/unlocker/) that TSVNCache is the
> bugger to blame for not letting me disconnect the drive.
> For some reason it holds a lock on the root F:\ directory even though the
> exe itself is located in C:\Program Files. After using UnLocker to remove
> TSVNCache's lock on the drive, I'm able to successfully use the Safely
> Remove Hardware option to remove the drive.
>
> Is TSVNCache intentionally locking that drive, or is it perhaps forgetting
> to call a fclose somewhere?

No, TSVNCache is monitoring all drives for changes in your working
copies. In TSVN settings you can tell it to exclude removable drives,
or exclude particular paths.

The problem with 'safely remove' is that it allows very little time
for the app to stop what it is doing. You should find that if you try
'safely remove ...' a second time it will work.

If you are using a TrueCrypt device, there is a known issue there:
http://tortoisesvn.net/node/249

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jun 14 12:23:36 2007

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.