Why is a SVN dump of a single revision larger than a full dump?

自古美人都是妖i 提交于 2019-12-08 18:18:25

问题


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?


回答1:


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"



来源:https://stackoverflow.com/questions/8062691/why-is-a-svn-dump-of-a-single-revision-larger-than-a-full-dump

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!