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

svn:externals feature(s)

From: William Lentz <Will_Lentz_at_Trimble.com>
Date: 2004-03-25 18:35:38 CET

Hi,

It seems like svn:externals could be made more user-friendly for
svn:externals refering to the same repository.

How about if svn:externals referred to the same project (e.g. "foo
/trunk/common/foo" - see issue #1336), then that external would be
indistinguishable from a normal directory in the working copy?

For example, if the repository structure is:
 /trunk/ -
           - tool1
           - tool2
           - project1

Now you check out "project1" but want to get the "tool1" and "tool2"
directories. So you set svn:externals to:
  tool1 /trunk/tool1
  tool2 /trunk/tool2

It would be really neat if subversion was able to pull over the "tool1"
and "tool2" directories and have it look exactly the same as if "tool1"
and "tool2" actually resided under "project1" in the repository. That
way you could change files in tool1/, tool2/ and project1/ and just do 1
commit to check in everything. This is kindof related to issue #1167.

Also - if you did "svn cp /trunk/project1 /branch/project1_branch" then
tool1/ and tool2/ would automatically get copied to
/branch/project1_branch/tool1 and /branch/project1_branch/tool2,
respectively. Of course svn:externals would automatically have to get
updated (or better yet removed) at this point. This is kindof related
to issue #1258.

Finally, it would be really nice if issue #937 was solved so that
svn:externals could refer to files as well as directories.

Would anyone else find these features useful? Right now CVS can do most
of the above with modules but SVN and svn:externals is _much_ harder and
less intuitive to use.

Are these sorts of modifications to svn:externals possible? Or is some
new mechanism required?

Thanks,
Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 25 18:36:20 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.