linux – svn清除所有修订版的项目

linux – svn清除所有修订版的项目,第1张

概述从svn删除项目及其所有修订(完全清理)是否有赞誉? 干杯 答案是在 Subversion FAQ: There are special cases where you might want to destroy all evidence of a file or commit. (Perhaps somebody accidentally committed a confidential doc 从svn删除项目及其所有修订(完全清理)是否有赞誉?

干杯

解决方法 答案是在 Subversion FAQ:

There are special cases where you
might want to destroy all evIDence of
a file or commit. (Perhaps somebody
accIDentally committed a confIDential
document.) This isn’t so easy,because
Subversion is deliberately designed to
never lose information. Revisions are
immutable trees which build upon one
another. Removing a revision from
history would cause a domino effect,
creating chaos in all subsequent
revisions and possibly invalIDating
all working copIEs.

The project has plans,however,to
someday implement an svnadmin
obliterate command which would
accomplish the task of permanently
deleting information. (See issue 516.)

In the meantime,your only recourse is to svnadmin dump your repository,then pipe the dumpfile through svndumpfilter (excluding the bad path) into an svnadmin load command. See chapter 5 of the Subversion book for details about this.

总结

以上是内存溢出为你收集整理的linux – svn清除所有修订版的项目全部内容,希望文章能够帮你解决linux – svn清除所有修订版的项目所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1026159.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存