Is it possible to delete content in a subversion repository?

早过忘川 提交于 2019-12-11 03:08:59

问题


Is it possible to delete a file from subversion repository completely including the history? The problem are illegal files without the needing copyright.

How can I do it?


回答1:


No, sorry. This is the much planned but not-yet-implemented svn obliterate feature on the mailing list.

The best you can do is to take a complete repository dump with svnadmin dump, filter out the files you want to remove and then svnadmin load it into a clean repository. There is a script svndumpfilter included in the distribution; I don't think that can filter out individual files as-is but it's a good starting point. As far as I remember the script can't cope with --deltas dumps, though, so you might have to stick with --incremental.



来源:https://stackoverflow.com/questions/4223879/is-it-possible-to-delete-content-in-a-subversion-repository

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