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

Modifying Dump File Contents

From: Tom Pike <thwpike_at_p3international.org>
Date: 2006-03-29 14:50:34 CEST

G'day All,

        We've been using Subversion in house to house our build scripts for a
high volume webserver setup for SMP/NUMA servers using
Zope/Apache/Squid/Pound. Because it is in house and never intended to
go public, we have had things like our mail servers, a few passwords etc
in our configuration files which are in the subversion repository.
Things, of course have changed, and we may be releasing our build
scripts to the public in the future (they are quite nifty and save an
enourmous amount of time). We can't afford to keep this data (passwords
etc), in our repository as it is a simple matter of someone simply
reviewing the histories of our files to find out our mail servers,
special email addresses etc.

        Is there an easy way to remove specific parts of a file from a
Subversion repository. We have tried dumping the repository and using
Sed to perform text replacement, but of course when the modified dump
file is loaded into a repository an MD5SUM error is produced. Even if
the MD5SUM is manually changed, the content length is still wrong.
Manually working out the content length is possible, but time consuming.
Is there an easier way?

        The easiest way of course is simply strip out the offending information
in the latest version and perform a fresh import, but that is defeating
the purpose somewhat.

                Grateful for any advice,

                        Tom Pike

| Tom Pike thwpike@p3international.org     |
| P3 International www.p3international.org |

Received on Wed Mar 29 14:53:06 2006

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