1

I want to move to a new SVN server.

On my current server I have a load of really old stuff in there that I don't really care about - I want to move it to the new server but not move any of the history. I have a load of images and stuff in there that will make my nightly backup a lot bigger than it needs to be.
For this code I assume I'll just export it from the old server, delete the images and so on that shouldn't be in there then check into the new server.

I do have some code in there that I do want to retain the full history for.

How do I go about doing a dump for only some of the projects in the repository?

Thanks

bahrep
  • 29,961
  • 12
  • 103
  • 150
Roaders
  • 4,373
  • 8
  • 50
  • 71
  • Have a look at http://stackoverflow.com/questions/337024/how-do-i-dump-one-project-out-of-a-svn-repository-which-contains-multiple-project – tangens Feb 13 '10 at 12:19

2 Answers2

4

svndumpfilter is the general-purpose answer to that question. I've never used it myself yet so I can't give you any syntax examples, but the book chapter may get you at least started.

Pekka
  • 442,112
  • 142
  • 972
  • 1,088
0

I've just gone through this and ran into a number of dramas. The whole process is covered here and might save you some grief: http://www.troyhunt.com/2009/12/black-art-of-splitting-subversion.html

Troy Hunt
  • 20,345
  • 13
  • 96
  • 151