Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About Subversion question



> 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.

Pretty much:  Right on.
SVN is specifically designed to never lose any information, so "clean up"
doesn't really make any sense.  The only meaning of "clean up" that I know
is to "svn rm" files you don't need in there anymore, and then remove the
history ... which is not a usual operation, and not trivial to do, but
perfectly described in David's email above.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org