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

Re: Broken Working Copy.

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 7 Oct 2008 16:22:02 -0500

On Oct 6, 2008, at 04:32, James Green wrote:

> I'm a bit lost as to what is going wrong with one of my local
> working copies. I can't do anything with it at the moment.
>
> Firstly, trying to execute a commit fails with:
>
> "Working copy D:\ ... locked"
> "Please execute the Cleanup command".
>
> So trying to run the Cleanup command:
>
> "Cleanup failed to process the following paths:
> "D:\ ..."
>
> I've tried running cleanup on each sub dir ... i've tried removing
> a lock only to be told that there is nothing locked. What on earth
> is going on?

You're saying you read the message "Working copy D:\ ... locked" and
then tried "svn unlock <something>" and it said it wasn't locked and
are confused? If so, I don't blame you; these are two different and
unrelated uses of the word "lock". See:

http://subversion.tigris.org/issues/show_bug.cgi?id=2303

> Makes me very nervous, it seems too easy for SubVersion to get its
> knickers in a twist!! Then to be given wrong error messages isn't
> particularly good either.
>
> What steps do I need to take to fix this?

Working copies can get corrupted from time to time. If we know how,
Subversion could be improved to either not corrupt the working copies
in that way, or to enhance "svn cleanup" so it could repair the
corruption. Since it is not known how your working copy got corrupted
in this way, all you can do is check out a new one.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-07 23:22:24 CEST

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.