Re: svndumpfilter and svnsync?
From: Ryan Schmidt <subversion-2018_at_ryandesign.com>
Date: Thu, 4 Oct 2018 06:04:10 -0500
On Oct 4, 2018, at 02:32, Chris wrote:
> we have a repo that is in dire need of getting rid of some accidental commits that have added large binary blobs on old branches. I've looked at http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering which indicates I go about this by first doing "svnadmin dump" and then work with "svndumpfilter" to remove paths that contain these files.
My guess is that you will not be able to "'merge' the offline repo with the changes in the live repo" if the offline repo has any changes, including changes you make to clean things up. While you perform your cleanup, nobody must make any commits to the repository.
This does sound like an enormous repository, and if you can't bear to have it offline for the duration of time required to do the cleanup, then you probably can't do the cleanup.
However, it's possible it might work. I haven't tried it. You could try it and see if you run into any errors. If you don't, I'd guess it's ok.
|
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.