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

Re: working with multiple related projects

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-10-10 13:22:26 CEST

On Monday 10 October 2005 12:52, charles i wrote:
> I'm new to SVN, and have been (unsuccessfully) trying
> to set up a repository (respositories) for working
> with multiple related projects.
> We have many projects, all using a common base code,
> and some sharing a set of sub-projects. Ideally, I
> would like my repository set up like:
> trunk\common\src
> trunk\project1\src
> trunk\project2\src
> To build project1, I would first checkout "common" and
> then would checkout project1 on top - any files in
> common that are also in project1 will be overwritten
> e.g. property files.
> Is this kind of set up possible in SVN?
> I've tried various options, but have been unable to
> checkout 2 projects (i.e. common and project1) into
> the same local directory. I would also like to be able
> edit files in common and project1 at the same time
> i.e. I don't want to have to build common as a
> seperate project.
> Any suggestions?
If I understand you correctly, you'd like to "merge" two directories in the
repository into one in your working copy.
This is not possible with subversion.

I'll be trying to get such a thing done in fsvs (fsvs.tigris.org), but that
won't work for source control - it's thought for machine installations.

What you possibly need is
- checkout your common folder beneath or below your project1 directory
  (possibly using svn:externals)
- modify your Makefile to search the other directory too (either
  hardcoded, or with something like

Hope that helps.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 10 13:29:44 2005

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.