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

Re: Can't commit -- working copy missing or not locked

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-06-09 09:03:06 CEST

On Friday 09 June 2006 07:39, William Trenker wrote:
> I'm still getting used to using the svn mv/rm etc commands so I went
> and removed a directory in my working copy using a plain linux rm -rf
> command.

Don't do that. Subversion doesn't know about this and also doesn't know how to
handle that. In general, deleting, adding (of course) and renaming/moving
should only be done via the svn commands.

> Now when I try to commit my most recent changes I get a
> "working copy ... missing or not locked" message.
> How to I get myself out of this?

1. svn update
This will restore the removed directory.
2. svn delete <dirname>
This will tell Subversion that you want that directory deleted.
3. svn commit
This will transfer the change made in step 2 to the repository.


Visit our website at <http://www.domino-printing.com/>
This Email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this Email in error please notify the system manager.

This footnote also confirms that this Email message has been swept by MailSweeper for the presence of computer viruses.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 9 09:03:36 2006

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

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