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

Re: Working copy not locked

From: Louis Haynes <louis_at_crablouie.org>
Date: 2005-02-22 20:58:52 CET

I agree totally with your comments. I did not mean to include the build
directories in the SVN. It was a stupid mistake of being too hasty to
get things in a repository. I only figured out that I made the mistake
when trying to add and commit new stuff. So now I need to remove these
build directories but I'm having trouble becuase everything I try to do,
I get that error.
Thanks, Louis

Konrad Rosenbaum wrote:

>On Tuesday 22 February 2005 18:03, Louis Haynes wrote:
>
>
>>I've search the documentation on this but have not seen a resolution
>>for my problem.
>>
>>I have just created a repository and then checked out the code. Created
>>some new files, ran my ant build file which updated some other files.
>>The problem is that I added the build directories to svn and in my ant
>>build script the build directories get deleted and recreated, deleting
>>all the svn metadata for that directory. So now that I'm trying to
>>commit my new additions and updates I get the following error:
>>
>>svn: Commit failed (details follow):
>>svn: Working copy '/dev/local/project/extras/viewgen/build' not locked
>>
>>I have tried to use svn update, remove, checkout, svnadmin recover, and
>>just about any combination to get around this problem.
>>
>>How do I correct this?
>>
>>
>
>Fix ant to not delete the directory.
>
>
>
>Moreover: DO NOT STORE BUILT FILES IN A VCS!
>Anything that is built by your environment does not belong in the version
>control (regardless of whether you use svn, cvs, vss, etc.pp). Any
>Developer can rebuild that him-/herself.
>
>While Java might be very forgiving with this behaviour any C++ Programmer
>can tell you that even the slightest change in Compiler-Version or
>LibC-Version changes your binaries completely.
>
>This is the material for fantastic stories about debugging woes! You can
>scare whole university classes senseless with that... ;-)
>
>Besides: this wastes valuable memory and bandwidth on the VCS-Server.
>
>
> Konrad
>
>
Received on Tue Feb 22 23:41:08 2005

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.