为什么 SVN 占用这么多空间? [英] Why does SVN take so much space?

查看:119
本文介绍了为什么 SVN 占用这么多空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个大约 1020MB 的大型项目.这是因为除了代码之外,我们在版本控制中还有其他资源,例如图形、XML 配置等.

I am working on a large sized project that is about 1020 MB in size. This is because, apart from the code, we have other resources, like graphics, XML configurations, etc. in the version control.

.svn-base 文件的大小约为 998 MB,使总结帐大小约为 2 GB.据我了解 .svn-base 是元信息,它的大小不应该那么大.

The size of the .svn-base files is about 998 MB, making the total checkout size about 2 GB. By my understanding .svn-base is meta information and its size shouldn't be that much.

为什么 SVN 需要这么多空间?

Why does SVN need so much space?

推荐答案

这样 svn revert 就不需要联系服务器了.

So that svn revert doesn't need to contact the server.

SVN 实际上在本地存储了文件的另一个副本.这就是为什么 .svn 目录总结起来几乎就像项目代码库本身一样.

SVN actually stores another copy of the file locally. That's why the .svn dirs sum up to be almost as the project code base itself.

这篇关于为什么 SVN 占用这么多空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆