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

update locking unrelated parent directory

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Thu, 25 Nov 2010 09:38:25 +0100

Greetings!

I have a scenario where I can't update a working copy while an update on an
unrelated other working copy is in progress. The directory structure looks
like this:

  projects/
      foo
      foo-test-1 *
      foo-test-2 *
      lib_bar

Now, what makes this special is that in the repository, the marked foo-test
directories don't exist. These directories are just file-system copies of foo
which I made in order to do some tests while keeping the relation to lib_bar.
Theoretically, they should be independent roots of separate WCs, right?
However, while running update on either foo-test, it seems that the projects
root dir is locked, so I can't update the rest. However, I can update both
foo-test WCs in parallel.

Also, I wonder how the new 1.7 WC format will affect me here. As far as I
know, the metadata is stored in just the root folder of the working copy
there, which means that a file-system copy of a subdir is not a working copy
on its own, which means I can't achieve the above by using a file-system copy
but have to do a separate checkout of the subdirectory, rigth?

I also thought about using a local never-committed copy, which I would then
switch back to the original dir:

  svn cp foo foo-test
  svn switch $(REPOS)/projects/foo foo-test

This should even allow me to update all my folders by issuing an update on the
projects root folder. Well, at least it could, I don't know if it works, I'm
not even sure it should work.

Cheers!

Uli

-- 
ML: http://subversion.apache.org/docs/community-guide/mailing-lists.html
FAQ: http://subversion.apache.org/faq.html
Docs: http://svnbook.red-bean.com/
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.dominolaser.com/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2010-11-25 09:44:17 CET

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.