views:

63

answers:

1

I have a bunch of interconnected projects which share the same project tree. I'm looking for a version control system which provides a possibility to checkout a subset of the project tree.

If my the full project tree looks like this:

Project Root
 |-Feature1
 |  |-SubFeature11
 |  \-SubFeature12
 |-Feature2
 |  |-SubFeature21
 |  \-SubFeature22
 |-file1
 \-file2

I want be able to checkout only subset like this:

Project Root
 |-Feature1
 |  \-SubFeature12
 |-Feature2
 |  \-SubFeature22
 |-file1
 \-file2

So do you know any version control system that allows to do selective checkout or a view on a repository?

+2  A: 

SVN supports this, search for sparse directories.

If you're using tortoise svn what you should do is check out the root directory not recursively then open the repository browser, find the directory you want to add and right-click -> update to revision.

Motti
With sparse checkout I will lose the ability to update the project using default tools like command line `svn` and GUIs.
Yossi
Matt Dillard
@Matt, thanks for pointing that out. I have completely missed this feature.
Yossi