SVN 是否压缩二进制内容?
我想知道 SVN 是否真的在提交期间压缩服务器上的二进制内容? 我知道二进制文件存储 diffgrams 用于比较和版本控制,但想知道提交的新文件是否会在服务器上占用与客户端 PC 上相同的卷?
I was wondering whether SVN actually compresses the binary content on the server during Commits? I know that the binary store the diffgrams for comparison and versioning but wondered whether a new file commited would occupy the same volume on the server as it does on the client pc?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信是这样。
从这里: http://svn.apache.org/repos/asf/subversion/主干/安装
I believe so.
From here: http://svn.apache.org/repos/asf/subversion/trunk/INSTALL
是的,Subversion 会压缩新文件以及更改。 (服务器不关心文件是文本还是二进制。)
但是请注意:如果您添加的文件已经压缩(例如 zip 存档、mp3 文件、JPEG、GIF),则不会发生颠覆能够使其变得更小。
Yes, Subversion compresses new files, as well as changes. (The server doesn't care if the file is text or binary.)
Note, however: if the file you are adding is already compressed (e.g. a zip archive, an mp3 file, a JPEG, a GIF) subversion won't be able to make it any smaller.