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

Re: modify dump

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-10-31 12:21:19 CET

On 10/31/2006 1:09 AM, Niko Sams wrote:
>>> So my question is: how can I modify the dump?
>> I think you want to dump and use svndumpfilter to remove the entire
>> file. I don't think it's safe to try to be finer grained than that.
> thanks for your reply.
> removing the entire file is not possible for me - as there is some other
> (needed) code in it.

I'd assume you'd keep a copy, modify it, and recommit it later.

This will be messy if you need multiple versions of the file, each with
the mods. In that case you might need to rebuild the repository: start
with a working copy of the whole repository just before the first time
the bad file was committed. Merge the diff that updated the file,
manually edit out the secret stuff, and commit. Repeat through every
revision of that file in every branch and tag.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 31 12:22:11 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.