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

Directory "obstructed" solution?

From: nitram cero <nitram.cero_at_gmail.com>
Date: Tue, 12 Aug 2008 07:03:14 -0700 (PDT)

I had this problem:
I run a WinXP-SP2, with "TortoiseSVN 1.5.2, Build 13595 - 32 Bit ,
2008/07/31 17:04:57".
The repository is local, on a hard drive.
I deleted a folder by hand (not thru the delete command in the context
menu) and when I tried to commit it said that the directory was
obstructed. When I ran a cleanup, it failed, saying that the directory
was locked.

Then I googled and found the message I'll attach on the end of mine.
I didn't want to pass thru all the troubles, so I found another way to
solve this. I entered into the .svn directory and deleted a "lock" 0-
bytes file, which was probably risk free.
And then I did that on all the versioned parent directories of the one
I was working on.

And voilá...solved.
Maybe this could be included in the Cleanup command or something, as I
didn't add no locks at all (I even installed the latest stable
TortoiseSVN and rebooted :p)

---------------------------------attached
message---------------------------------
From: Per Lindberg <per_at_implior.com>
Date: 2005-01-12 14:39:47 CET

I have a local sandbox where one subtree of the directory acts weird.
(WEB-INF/classes/com). I run both svn 1.1.1 and TortoiseSVN 1.1.2
under WinXP-SP2.

When I try to commit the main directory with svn ci,
I get a message saying that the main directory is locked,
and that I should run 'svn cleanup'.

When I try to cleanup with svn cleanup,
I get a message saying that WEB-INF/classes/com
is not a catalog in a working copy.

When I try to add the subtree with svn add WEB-INF/classes/com,
I get a message saying that the working copy "WEB-INF\classes" is
locked,
and that I should run 'svn cleanup' to remove locks.

So I'm back on square one.

When I try to commit the main directory with TortoiseSVN,
it shows the sub-catalog as "obstructed", with a checkbox.
Checking it, and clicking OK results in a dialog box with
the message:

   Working copy 'C:\Myproj' locked.
   Please execute the "Cleanup" command.

When I try to clean up the main directory with TortoiseSVN,
it pops up a dialog box saying

   Subversion reported an error while doing a cleanup!
   'C:/Myproj/WEB-INF/classes/com' is not a working copy directory

When I try to add the subtree with TortoiseSVN,
I get a dialog box saying that

   All files are already under version control.
   There's noting to add!

All subdirectories contain a hidden .svn directory, except
WEB-INF/classes/com (and its subdirectories).

I'm kinda stuck. What is wrong?

Per Lindberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-08-12 16:13:13 CEST

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.