svn repository is showing very large size

一世执手 提交于 2019-12-02 04:55:45

问题


One of my office developer uploaded videos to svn repository.Few days later he removed those videos but svn repository still showing very large sige.How could i decrease svn repository size.


回答1:


Your question is answered in Apache Subversion FAQ:

"How do I completely remove a file from the repository's history?"

Apache Subversion (and other version control systems) is designed to keep all the history. Removing files from repo history is commonly considered as a complicated task and not really a good thing. That's not the task which you can easily accomplish.




回答2:


SVN keeps revisions if you delete them. See http://www.svnforum.org/threads/35631-permanently-delete-file to delete the files permanently.




回答3:


Just in case someone browses this topic several years later: a file or directory can be removed from subversion - you make dump, you filter dump, you restore filtered dump. For more details see https://stackoverflow.com/a/6025750/1727132



来源:https://stackoverflow.com/questions/12367311/svn-repository-is-showing-very-large-size

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