tags:

views:

22

answers:

1

I have an SVN repository, which has many directories inside. Now I would like to clone this repository, leaving only one particular directory in it. And of course I don't need any revisions related to other directories in this new repository. How can I do it? Thanks.

+3  A: 

You will need to create a dump of your repository, and filter out the directories and revisions you want. svndumpfilter is the all-purpose tool for this. See this chapter of the subversion book for an example.

Pekka