You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Dick <di...@ece.northwestern.edu> on 2004/03/14 04:57:34 UTC

Modules/svn:externals

I'm looking for advice on the best way to approximate CVS modules 
with subversion svn:externals.  My situation goes a bit beyond the 
examples in the documentation.

Assume I have a repository with three subdirectories:
  support/
  a/
  b/

a/ and b/ both rely on support/.  Some people will want to check out 
a/+support/, some will want b/+support/, and others will want
a/+b/+support/.  I could make an empty a-module/ directory with 
svn:externals set to a/+support/.  However, when my user later 
checks out b-module into the same directory, won't there be a 
collision?

Another option would be to associate svn:externals of ../support 
with a/ and b/.  However, that is currently prevented in svn.

I want to get the following behavior: When checking out a/, if we 
don't have support/, get it.  If we have it already, just get a/.

Also, it would be nice if externals could default to using the same 
root URL as the one used to check out/update the directory with the 
svn:externals property (relative URLs).

Thanks a lot,

-Robert Dick-


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org