views:

98

answers:

3

Will tortoise let me mix repositories in the same and if so how? What I would like is to store code, configs and binaries in separate repositories.

A: 

If you mean whether one checkout can include stuff from multiple repositories, then no. You should use one repository with subfolders for code, configs and binaries.

Jakob Kruse
+3  A: 

You should look at externals, using the svn:externals property, this will allow you to have one repository, with external references to other repositories.

For instance, you can do this:

trunk/                         <-- repository A
   config/                     <-- repository B
   binaries/                   <-- repository C
   code/                       <-- repository A

You cannot, however, mix files from different repositories in one working copy, but you can use externals to check out sub-directories of your working copy from different repositories.

For more information about externals, check the svnbook: Externals Definitions.

Lasse V. Karlsen
perfect! <fill out chars>
Martin
+3  A: 

Subversion allows almost all sort of mixed working copies. You can combine different revisions, different locations within the repository and even different repositories.

The feature you mention is accomplished with externals:

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

However, these mixed working copies that combine different sources can be difficult to deal with. When you make changes you have to remember this fact and do a different checkout for each source. And you cannot merge stuff between different repositories so you won't have a proper history.

Honestly, I see little reason to split one single project into three different repos.

Álvaro G. Vicario
You're conclusion is noted. After trying it out, it works, but let it be known it's probably not worth it. In my case it's for security reasons but there is proably a better way.
Martin