About Subversion question

David Kramer david-8uUts6sDVDvs2Lz0fTdYFQ at public.gmane.org
Mon Feb 8 10:13:29 EST 2010


Dave Peters wrote:
> Our SVN is getting huge. What can I do to clean up?

That depends on what you mean by "getting huge".  Do you mean it has a
lot of files in it actively being used, and you want to spread the load?
 If that's the case, you can set up multiple subversion repositories, or
move the one repository onto an LVM.

If you mean that you have lots of old versions you'll never want to look
at ever again, then what I used to do is an
svnadmin -r mygoodrevisionnumber:HEAD dump
then restore the dump to a clean repository.

If you want to remove specific old files you don't need anymore, I used
to just edit the dump file to remove them.  Maybe there's a tool for
that these days, though.






More information about the Discuss mailing list