Re: svndumpfilter and svnsync?
From: Ryan Schmidt <subversion-2018_at_ryandesign.com>
Date: Wed, 10 Oct 2018 02:16:25 -0500
On Oct 10, 2018, at 02:04, Chris wrote:
> I've trawled through bad commits of data files in our repo and added such paths to a filter file that I'm using for svndumpfilter to get a reasonably-looking dump. In most cases, the files in question existed in a single path(branch( and were no problem. But in some cases, the same files had been copied to a 2nd branch and then svndumpfilter gave me errors about missing source paths, so I added the same path on the 2nd branch to the filter expressions and tried again. After a few iterations of this process, I have a dump that should do what I want.
I don't know the answer to that, but:
> The syntax I used:
Instead of ignoring wrong newlines, you could fix them using svndumptool (using its eolfix-revprop command), originally at:
http://svn.borg.ch/svndumptool/
Newer fork at:
https://github.com/jwiegley/svndumptool
> An additional question about what Johan wrote below:
If you use a newer version of svnadmin (than the one that will be used to serve the repo) to create the new repo and load the dump file, then make sure you pass the right --compatible-version argument to svnadmin create.
|
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.