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

Re: Can svn have a project containing other svn projects?

From: Benjamin Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Tue, 2 Sep 2008 07:54:43 +0200

On Sep 1, 2008, at 02:37, Jim wrote:

> Hi,
>
> At home I have many small collections of related files that are
> essentially libraries (some are, some are just a set of files) that
> I share/use in many of my applications. I'm attempting to place
> things under version control (I chose svn) and I'd like to avoid is
> a mandatory directory layout. For instance, I'd like to get away
> from a Visual Studio project having files at ../../shared/
> MyLibSrcA. Plus, I don't like the idea of re-creating my current
> directory structure in what I believe would have to be a single svn
> repository. I was planning on having multiple repositories, one per
> Visual Studio project. But, I need to share all those collections
> of files/libs.
>
> At work, our version control system lets us add other projects as a
> subproject to a project. In other words, a project can have files
> AND other projects. So, you can share projects. That way, you can
> include various projects of files and when you create your
> "sandbox", all the files can be in one directory. Can svn do this?
> I looked at the add and import commands & they appear to be file
> oriented.

Have you considered svn:externals?

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

// ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-02 07:55:09 CEST

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