SVN - folder checkout and merges

75 views Asked by At

I have the following scenario with code organized as:

Product
->Core
->Module1
->Module2
->Module3
->...
->ModuleN

All of the code is managed by SVN. From time to time we'd like to be able to select module(s) from the tree in order create a specific set of sourcecode to check out - iow we're looking at using SVN as a "release packaging tool". Most of the time we want to accomplish this from the "trunk" but sometimes it might be desireable to do it from a "branch". One more important note to mention is that every module folder contains config- and documentation fragments which we would like to be able to "merge" depending on the selected modules for a given release package.

Is this possible to accomplish using SVN alone or do we need another tool which might hook into SVN. Any other tool which might be a complement?

1

There are 1 answers

2
Atafar On

You can achieve this in several ways. One way is to create a working copy of so-called mixed revisions.

Another way is to use externals. This is a very flexible way of plugging several parts of your repository together. It also allows you to pin certain parts to a specific revision.