How can I reduce the size of a Subversion repository?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 12:04:20

问题


I have a pair of svn repositories which are significantly larger than others. They're not too big for svn, but they're taking a lot of disk space I'd rather be using for something else.

What strategies are available for reducing the disk use of svn repositories? I tried the "removing dead transactions" section described here but that didn't get me anywhere. What else should I try?

ETA: Is this question better asked on Server Fault?


回答1:


If the used disk space is more important for you than the version history, then you could make a clean checkout and reimport your projects into a new repository. The old repositories could then be stored in a compressed archive.

If you don't want to lose the complete history, then this article might be interesting for you: Delete parts of subversion history



来源:https://stackoverflow.com/questions/3770914/how-can-i-reduce-the-size-of-a-subversion-repository

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!