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

Re: [Subclipse-users] update from repo -> Working copy not locked error

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-11-17 14:52:18 CET

Dieter@be wrote:
> Hello group, i'm not trying to doublepost, but i was informed that my first
> post in the issues group was badly placed.
>
> So this is the problem:
>
> i work with subclipse 1.1.8 in eclipse 3.2.1, on all the machines i use.
> when i work with *only* my dev machine, there is no problem: i can commit,
> update,.. my project files to/from the repo as much as i want.
> But, when i commit even the slightest change from another dev machine and
> then try to update the project on *my* machine, eclipse returns me this
> error:
>
> update -r HEAD /home/dieter/workspace/jhsjatoo
> org.tigris.subversion.javahl.clientException:
> Working copy not locked; this is probably a bug, please report
> svn: Directory '/home/dieter/workspace/jhsjatoo/code/cake/.svn' containing
> working copy admin area is missing
>
> I have no idea why the "admin area is missing", after creating the project
> in my workspace by checking out the repo, i didn't change anything on the
> filesystem (in the working copy) !
>
> I don't use NFS or something like that, my workspace is on a locally mounted
> reiserFS
>
> When i try updating from the cli, i get the same error, here it is:
>
> dieter@ws ~ $ svn update workspace/jhsjatoo/
> svn: Directory 'workspace/jhsjatoo/code/cake/.svn' containing working copy
> admin area is missing
>
> Here is an ls -alhR of the project directory:
> http://pastebin.com/826558
>
> I should mention that i do use more eclipse plugins, namely phpeclipse
> (because the project is a PHP project) and filesync (which should just copy
> all the files of my working copy to an external directory without altering
> the original)
>
The usual culprit is a build process or some other script that deletes
folder and then recreates them. If you have such a process, you have to
be sure that the .svn folders inside these folders do not get deleted.
Or in some cases it might mean that you have a folder versioned that
just shouldn't be. See this FAQ as well:

http://subclipse.tigris.org/faq.html#wc-not-locked

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Nov 17 14:53:02 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.