Re: modify dump
From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-10-31 10:20:50 CET
Niko,
Well, I'd repeat the caution given by Duncan. I think such fine-grained modifications are *very* risky.
However, I believe that an all-zeroes checksum will do what you want (but I may be wrong). Again, I'd change as few of those as possible. I have not tried this, and probably *would* not. I would certainly perform an "svnadmin verify" following the load.
I'd be interested to hear from any svn developers as to whether they'd trust the new repository following such steps, including a successful verify, and perhaps a favourable comparison with all significant respective revisions from the old and new repositories.
I had considered doing something like this to apply svn:eol-styles and adjust file line endings retrospectively. However, the consensus at the time was to recommend against such a move. Therefore, with such advice, I opted against this procedure.
If the modifications that you wish to make are only in the few most recent revisions, perhaps you could "partially" dump/load to "rewind" the repository to the revision before those changes, and to "replay" the more recent commits manually. (You will need, as a minimum, a copy of the data from each of those later revisions together with their meta-data changes including information about file copy operations.)
I wonder whether there is a way that the "bad" file could be removed in the conventional way using dump/filter, but a replacement file could be added using an "interrupted" load procedure. I don't know whether that is a practical suggestion.
If these ideas are no good to you, then I hope at least that they inspire a better idea from someone else...
Rob.
> -----Original Message-----
_____________________________________________________________________
This email and any files transmitted with it are confidential and
---------------------------------------------------------------------
|
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.