为什么单个修订版的SVN转储大于完整转储? [英] Why is a SVN dump of a single revision larger than a full dump?

查看:116
本文介绍了为什么单个修订版的SVN转储大于完整转储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的存储库是2.5G.通过svnadmin dump myrepos > dumpfile进行的转储为5G.但是当我像 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?

推荐答案

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

为了确保svnadmin dump每次执行的输出都是自给自足的,默认情况下,第一个转储的修订版是存储库修订版中每个目录,文件和属性的完整表示.

"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.

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

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

这篇关于为什么单个修订版的SVN转储大于完整转储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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