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

svndumpfilter and svnsync?

From: Chris <devnullaccount_at_yahoo.se>
Date: Thu, 4 Oct 2018 07:32:21 +0000 (UTC)

Hi all,

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.

But, doing dump on this big repo (>30GB) supposedly takes more than 2 weeks to complete. And if it takes that long, then we can't have the repo offline while dumping/filtering and need to be able to "merge" the offline repo with the changes in the live repo when we have finished the cleaning.

I figured using svnsync to get the "cleaned repo" up to date with the changes on the "live repo", but a note in the svnsync documentation says "The only commits and revision property modifications that ever occur on that mirror repository should be those performed by the svnsync tool". Does that also include this kind of cleanup operation where I remove paths that don't exist on HEAD? If I should't use svnsync for this, what should I do instead?

TIA,
  Chris
Received on 2018-10-04 09:32:42 CEST

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.