[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: pseudo-obliterate

From: Johannes Holzer <hl-svn_at_arcor.de>
Date: 2006-05-22 11:06:45 CEST

Am Montag, 22. Mai 2006 09:46 schrieb Noam Tamim:
> Hi,
>
> I have a file in subversion that should not be there, for security reasons.
> Can I somehow have its contents removed from the FSFS db? I don't mind if
> this requires some sort of manual editing, even hex-editor level editing of
> the repository. I just want the content removed (or overwritten with other
> content) from the repository.

Try

1. backup repository
2. svnadmin dump REPOSITORY > dumpfile
3. edit the dumpfile (huge textfile)
4. rm -rf REPOSITORY # you have a backup, right???
5. svnadmin create REPOSITORY
6. svnadmin load REPOSITORY < dumpfile

BE CAREFULL. I have not tried exactly these command. I just wrote them down.

have fun!

johannes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 22 11:08:51 2006

This is an archived mail posted to the Subversion Users mailing list.