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

Re: passwords in checked-in code

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 3 Sep 2008 03:16:44 -0500

On Aug 31, 2008, at 7:59 PM, Darrell Esau wrote:

> I accidentally committed a password in clear text to a configuration
> file in my SVN codebase. I've since added various other new
> revisions.
>
> I'm wondering if it's possible to edit the repository to remove the
> password from the config file.
>
> I'm using the linux filesystem for storage.. I found the files in
> db/revs -- however when I remove the password (replacing the
> characters with X's) -- when I try to check out the file, I get a
> checksum failure.
>
> So -- Is there any way to do this while maintaining all the other
> history?

Yes. There's what Blair suggested, or you can use svndumptool to help
you. It lets you do various fun things to dumpfiles, including
replace a historical file's contents (svndumptool.py edit).

http://svn.borg.ch/svndumptool/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-03 10:18:44 CEST

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