I one of the previous versions of my code, stored in a Subversion repository, there is sensitive information. How to erase it while keeping all other versions?
Want you want is a SVN feature commonly called "obliterate", which unfortunately still is not implemented.
As a workaround, you will have to dump, filter & reimport your repository. See e.g. the entry in the SVN faq How do I completely remove a file from the repository's history?.
BTW: It's a dupe :-). https://stackoverflow.com/questions/663584/subversion-permanently-remove-incorrectly-checked-in-directory-project
EDIT:
The repository is Google Code Project Hosting, so I can't dump and restore the repository =(
As far as I can see, the only solution in this case is to (ask Google to) reset your respository (see this FAQ, and this blog post). This will completely remove all data from the repository (both current data and history), as if you had just started the repository using svnadmin create.
Obviously, you'll need a backup of your repository first.
The best solution probably is:
snvsync (this will also back up the history)snvsync (see FAQ How do I import my existing source code? )