存储库 – Tortoise SVN Repo-Browser

我想知道我是否右键单击SVN repo浏览器中的文件,是否会被永久删除?可以恢复吗?
最佳答案
来自SVN FAQ的This question/answer可能会让您感兴趣:

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

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.

如果这很难,那么从Tortoise SVN可以很容易地完成它……
(这不是源代码管理的目标……)

转载注明原文:存储库 – Tortoise SVN Repo-Browser - 代码日志