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

Error: Working copy locked when using externals

From: Robin Guest <robin.guest_at_gmail.com>
Date: Thu, 23 Oct 2008 10:42:20 -0700 (PDT)

I'm using TortoiseSVN 1.5.4.14259 on XP SP2, for Subversion 1.5.3
Windows Server 2003.

My repo looks structure looks essentially like this:

-Clients/FooProject/trunk
-Clients/FooProject/trunk/bin
+Clients/FooProject/trunk/bin/Bespoke
-Clients/FooProject/trunk/bin/Bespoke/Foo
+Clients/FooProject/trunk/bin/Bespoke/Foo/Classes
+Clients/FooProject/trunk/bin/Bespoke/Foo/Data
-Common/BarProject/trunk
+Common/BarProject/trunk/bin
+Common/BarProject/trunk/bin/Bespoke
-Common/BarProject/trunk/bin/Bespoke/Bar
+Common/BarProject/trunk/bin/Bespoke/Bar/Classes
+Common/BarProject/trunk/bin/Bespoke/Bar/Data

Those directories containing files are prefixed with "+" in my
example, while empty ones are prefixed with "-".

In the repo, "Clients/FooProject/trunk" contains an svn:externals
property, created inTortoiseSVN, which reads:

bin svn://192.168.0.4/Common/BarProject/trunk/bin
bin\Bespoke svn://192.168.0.4/Common/BarProject/trunk/bin/Bespoke
bin\Bespoke\Bar svn://192.168.0.4/Common/BarProject/trunk/bin/Bespoke/Bar
bin\Bespoke\Bar\Classes svn://192.168.0.4/Common/BarProject/trunk/bin/Bespoke/Bar/Classes
bin\Bespoke\Bar\Data svn://192.168.0.4/Common/BarProject/trunk/bin/Bespoke/Bar/Data

My intention is to merge the latest version of "Common/BarProject/
trunk/bin" into "Clients/FooProject/trunk/bin" recursively all the way
down the tree.

This reflects the fact that BarProject is a common project that must
be deployed alongside every different client project.

It is worth noting that everything below "bin" is constrained to be in
a certain directory structure by the application under development. In
particular, "Bespoke" always contains a set of files from both the
client project and the common project. In this example, 6 x Foo.* and
6 x Bar.* files, making 12 distinct files in the same directory.

When I check out "Common/BarProject/trunk" to "C:\test" in
TortoiseSVN, I get the following message:

Command: Checkout from svn://192.168.0.4/Common/BarProject/trunk,
revision HEAD, Fully recursive, Externals included
Added: C:\test
Added: C:\test\bin
Added: C:\test\bin\Bespoke
Added: C:\test\bin\Bespoke\foo.dbc
Added: C:\test\bin\Bespoke\foo.fpt
Added: C:\test\bin\Bespoke\foo.dct
Added: C:\test\bin\Bespoke\foo.dbf
Added: C:\test\bin\Bespoke\foo.cdx
Added: C:\test\bin\Bespoke\foo.dcx
Added: C:\test\bin\Bespoke\Foo
Added: C:\test\bin\Bespoke\Foo\Classes
Added: C:\test\bin\Bespoke\Foo\Classes\foo.fpt
External: C:\test\bin
Error: Working copy 'C:\test\bin' locked
Error: Please execute the "Cleanup" command.
Finished!:

I do the cleanup command on "C:\test" and it says:

Cleanup has successfully processed the following paths:
- C:\test

I try the SVN Update command on "C:\test" again, and I get an
identical locking message:

Command: Update
External: C:\test\bin
Error: Working copy 'C:\test\bin' locked
Error: Please execute the "Cleanup" command.
Finished!:

Please can someone tell me the cause of the error, and how to resolve
it while still recursively merging all the externals into the project?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-23 19:46:01 CEST

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