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

RE: Commit problem: resource is missing or not locked

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 16 Sep 2010 13:15:19 -0400

> Hello guys!
> I'm a svn newbie... I'm using svn in a php project and for many
> months
> I had not problems and I commited my data many times.
> Recently, I did a big refactoring in my application and I
> moved/delete/overwritten many files (forgetting the svn issues).
> Unfortunately now I'm not anymore able to commit my data because of
> the following error:
>
> '[directory]' is missing or not locked
>
> I did too many important improvement to revert my copy but I'm
> stuck
> because the commit fails every time...
>
> How I can fix this problem?

Did you possible delete/move a folder using the OS delete/move rather than the T-SVN version as you were moving stuff around?

Have you done an update? You might want to copy your WC and do an update on it. See if any folders are brought back. If they are, that means you used OS move/delete rather than the SVN versions. If that's the case you will have to use svn delete or move.

> Do you think that exporting my project and doing a new commit to
> the
> repository can be a good idea?

I'm not sure what you mean here. Do you mean exporting your working copy and then importing it in starting a new path? If you do that you will lose all your existing history.

What you can do possibly is do is do a second check out to a new folder. Then use windiff or beyond compare to re-do your changes... make sure to use T-SVN move/delete commands as you do it.

Hth,
BOb
Received on 2010-09-16 19:16:01 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.