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

Single commit multiple WCs?

From: Jason Winnebeck <jpwasp_at_rit.edu>
Date: 2007-07-11 21:01:54 CEST

If I have multiple WCs, is it possible to do a copy/move between them or
a commit between them? They are from the same repository.

I have a repository structure like so:

AppA
 - branches/tags/trunk
AppB
 - branches/tags/trunk
LibA
 - branches/tags/trunk
LibB
 - branches/tags/trunk
LibC
 - branches/tags/trunk
...

The dependencies don't form a tree, which is why they are in separate
modules like above. Doing it this way keeps everyone from needing to get
every directory, so let's say a developer of project A might have 3
separate checkouts:

/Dev
 - /AppA (from AppA/trunk)
 - /LibA (from LibA/trunk)
 - /LibB (from LibB/trunk)

With this directory layout, does this mean it is impossible to do an
atomic commit that changes AppA and LibA at the same time? I noticed
from /Dev I can do a svn mv between two working copies, but of course I
cannot do a svn commit from /Dev, so the move cannot be atomic. Is there
a way I can organize it better? It seems unreasonable to have people
check out from a higher level as they will get the entire repository. Or
is the solution in this case just to "deal with it" -- each project is
conceptually separate so their commits will not be intermixed?

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 11 21:01:40 2007

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.