Reputation: 8790
When you revert to a previous version of a file in svn and then check it in, the svn log will not get rid of the log entries after the revision you reverted to, but will just add a new log entry for the change you made back to the reverted file.
My question: Is there any possible way that the log itself can be reverted so that entries are actually lost? I would hope not, but I just want to find out for a certainty.
Upvotes: 2
Views: 976
Reputation: 224179
With SVN's admin tools you can dump a repository, filter out certain revisions, and import it back in again.
However, this is laborious and not for the faint of heart, and it is this way intentionally. The purpose of SVN is to preserve history, however twisted, and not to lose it.
Upvotes: 2
Reputation: 692181
The only way is to dump the repository and to reimport it by filtering some entries. So in short: it's impossible. Once something is committed it'll stay in the repository ad vitam aeternam.
Upvotes: 4