如何减小 Subversion 存储库的大小?

编程入门 行业动态 更新时间:2024-10-28 11:25:24
本文介绍了如何减小 Subversion 存储库的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一对 svn 存储库,它们比其他存储库大得多.它们对于 svn 来说不算太大,但它们占用了大量磁盘空间,我宁愿将其用于其他用途.

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.

有哪些策略可以减少 svn 存储库的磁盘使用?我尝试了此处描述的删除无效交易"部分但这并没有让我去任何地方.我还应该尝试什么?

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:在服务器故障上问这个问题更好吗?

ETA: Is this question better asked on Server Fault?

推荐答案

如果已用磁盘空间对您来说比版本历史记录更重要,那么您可以进行干净的检出并将您的项目重新导入到新的存储库中.然后可以将旧存储库存储在压缩存档中.

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

更多推荐

如何减小 Subversion 存储库的大小?

本文发布于:2023-10-22 08:50:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1517030.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:大小   Subversion

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!