为什么单个修订版的SVN转储大于完整转储? [英] Why is a SVN dump of a single revision larger than a full dump?
问题描述
我的存储库是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?
推荐答案
为了确保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屋!