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

Re: [Subclipse-users] Error:Attempted to lock an already-locked dir

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-01-11 21:48:34 CET

sherry.frazier@sungard.com wrote on 01/11/2006 03:30:57 PM:

> Our team is fairly new to Subversion but we've continually seen this
type of
> error in which case the users have had to delete and re-add the project
to
> resolve. We use both Eclipse plug-in (Subclipse) as well as some use
TortoiseSVN.
>
> I've recommened running cleans from the trunk and clean in some cases
also
> generates errors in other projects as well. We are getting errors as
such:
>
> Attempted to lock an already-locked dir
> svn: Working copy '\eclipse\workspace\XX123' locked
>
> Problem on first log entry in a working copy
> svn: In directory '\eclipse\workspace\xyz'
> svn: Error processing command 'delete-entry' in '\eclipse\workspace\123'

> Working copy not locked; this is probably a bug, please report
> svn: Working copy '\eclipse\workspace\abc' is missing or not locked
>
> Any suggestions on how to resolve? Let me know if I'm using the correct
email
> group and if not what the correct one would be.

Generally speaking, these are errors in Subversion and you could report
the problem to them. Ideally, it would include a reproduction recipe and
in many cases producing that recipe will at least give you a workaround as
you may spot some procedural flaw.

One thing to watch out for with Eclipse is to not version folders that
contain compiled objects. Such as a "bin" or "classes" folder. When
Eclipse does a full rebuild it will delete the folder, which will delete
the ".svn" metadata. These folders just should be deleted from your
repository and added to svn:ignore so that they are not put back.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Jan 11 21:49:08 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.