为什么单个修订版的 SVN 转储比完整转储大?

发布于 2024-12-14 17:39:45 字数 248 浏览 4 评论 0原文

我的存储库是2.5G。通过 svnadmin dump myrepos > 进行转储转储文件是5G。但是当我像这样转储时 svnadmin dump myrepos -r 23785 > svnadmin dump myrepos -r 23785 > rev-23785.dumpfile 其中 23785 是最新的修订版,转储超过 15G,此时我停止转储。

当仅请求一个修订版本的转储时,为什么结果远远大于整个转储?

My repository is 2.5G. A dump via svnadmin dump myrepos > dumpfile is 5G. But when I do a dump like
svnadmin dump myrepos -r 23785 > rev-23785.dumpfile where 23785 is the youngest revision the dump goes beyond 15G and at that point I stop the dump.

When requesting a dump for just the one revision, why is the result far larger than the entire dump?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

坏尐絯℡ 2024-12-21 17:39:50

本页说明:
http://linuxtopia.org/online_books/programming_tool_guides/version_control_with_subversion/svn.reposadmin .maint_8.html

"保证每次执行的输出svnadmin dump 是自给自足的,默认情况下第一个转储的版本是该存储库版本中每个目录、文件和属性的完整表示,

但是,如果添加 --incremental 选项,则可以更改此默认行为。

This page explains:
http://linuxtopia.org/online_books/programming_tool_guides/version_control_with_subversion/svn.reposadmin.maint_8.html

"To ensure that the output of each execution of svnadmin dump is self-sufficient, the first dumped revision is by default a full representation of every directory, file, and property in that revision of the repository.

However, you can change this default behavior. If you add the --incremental option"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文