# RE: Re: TSVNCache keeping directory locked

From: Gleason, Todd <tgleason_at_impac.com>
Date: Mon, 18 Feb 2008 12:37:51 -0800

What was annoying was that TSVNCache 1.4.7 had a handle open not to the drive root, but to a folder underneath the root of my "working folder" (see below). So the root folder was (from my previous example) C:\rds, but TSVNCache had a handle open to C:\rds\run (which was an empty folder). I verified this with Process Explorer. It seems to reproduce every time I do a rename from c:\rd to c:\rds -- but not if I rename a different folder. My wildcard for TSVNCache to match these folders is c:\rd* which I assume should match both c:\rd and c:\rds .

So it appears that 1.4 does actually open handles well below the drive root, and leave them open for no reason I can discern. The annoyance, then, is that I must shut TSVNCache down while I do the rename.

It's worth noting that the folders in question, although matching the wildcard, are not Subversion working folders at all. This is because I'm evaluating Subversion on some folders while using our current source control system on our actual development folders.

It sounds like 1.5 will fix this behavior though, so I can probably just wait for it to resolve this problem.

If, based on the behavior I've said, you think there may be a lingering issue even in 1.5, then I can put together step-by-step instructions to reproduce in 1.4.7, and you could try it in 1.4.7 and 1.5 for comparison.

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
Sent: Monday, February 18, 2008 1:22 PM
To: users_at_tortoisesvn.tigris.org
Subject: Re: TSVNCache keeping directory locked

Gleason, Todd wrote:
> Just looked at the rev 12135 log message. Very cool! Is there any
> chance this will be back-ported to 1.4? I don't expect to run a
> 1.5-based version until after Subversion 1.5 is released. Or are the
> nightly builds 1.4-compatible? (I thought they weren't.)

No, there's no reason to backport this. Because the 1.4 cache only opens
handles to the drive root - and you can't move/delete a drive root.

> Although this is annoying, the mere fact that it should be fixed in
> 1.50 is encouraging.

What exactly is annoying in 1.4.x?

Stefan

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org