mercurial如何压缩存储库中的文件? [英] How does mercurial compress files in repository?

查看:91
本文介绍了mercurial如何压缩存储库中的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到Mercurial有效地压缩了存储库中的文件

I'm seeing that mercurial efficiently compresses the files in repository

(repo/.hg/store/data)

有人知道存储库文件使用哪种压缩方式吗?

Does anybody know what kind of compression is used for repository files?

谢谢.

推荐答案

Mercurial存储库中有两个压缩级别:增量存储和

There are two levels of compression in Mercurial repositories: delta storage, and zlib compression.

此外,各种其他部件也采用压缩.例如,捆绑包可以与gzip和bzip2一起压缩,也可以与压缩tarball一起压缩-但我认为您不是在要求这些.

In addition, various other parts employ also compression. For example, bundles can be compressed with both gzip and bzip2, as can archive tarballs - but I don't think you were asking for these.

这篇关于mercurial如何压缩存储库中的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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