[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: Konrad Rosenbaum <konrad_at_silmor.de>
Date: 2005-02-22 20:13:00 CET

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.

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.


  • application/pgp-signature attachment: stored
Received on Tue Feb 22 20:15:31 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.