views:

112

answers:

1

I have a large CVS repository module (~2.2GB of CVS and has 10 years of active development). I'm attempting to migrate it to SVN in order to host it on Google Code, which has about 1GB limit.

Is there a way to do a partial migration, where I only migrate the last year worth of changes only? cvs2svn and cvs2ps in the documentation discuss partial migration by prune folders not by pruning history.

+1  A: 

cvs2svn does not have a feature to discard part of the CVS history. But you can convert the whole history then use "svnadmin dump" and "svnadmin load" to discard part of the repository after the conversion:

svnadmin dump -r R:HEAD /path/to/full/repo | svnadmin load /path/to/abbreviated/repo

where "R" is the SVN revision number of the first revision you would like to retain.

But instead of throwing away history that might someday be missed, see if you can get Google to raise the limits for your project:

There are disk-space quota limits for both issue tracker attachments and total Subversion repository size, along with a limit on how many total projects you are able to create. If you hit these limits, please contact us via our Google Group or email [email protected] directly to discuss the situation.

mhagger