You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tom Pike <th...@p3international.org> on 2006/03/29 12:50:34 UTC

Modifying Dump File Contents

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 |
+------------------------------------------+