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

Strange problem with filtering dump files

From: Alfred von Campe <alfred_at_von-campe.com>
Date: Fri, 3 Oct 2014 17:05:06 -0400

We have a repo that we want to split up into multiple repos. The strategy to do this is fairly simple:

  1. Dump repo using svnadmin dump
  2. Construct a list of paths we want to exclude by greping for Node-path: in the dump file and greping that for certain directory names to exclude
  3. Use svndumpsanitizer (svndumpfilter has too many issues) to either include or exclude directories from list generated in previous step to create new dump file
  4. Create new repos and use svnadmin load from new dump files

This mostly works except for one very bizarre problem. One particular directory I am trying to filter out consistently only gets partially excluded. For example, imagine a subdirectory named foo that contains a few subdirectories and a few dozen source files. I use trunk/foo (and branches/branch1/foo, branches/branch2/foo, etc.) as the paths to exclude, yet the directory foo and *one* of its subdirectories with *some* of its source files are not filtered from the trunk and all branches. I can’t figure out what’s different or special about these files.

What is the best way to debug this issue? This is my first time trying to split a repository. In case it matters, we are using Subversion 1.7.5 on the server (svnadmin dump) and I am doing all my testing with a 1.8.10 client.

Alfred
Received on 2014-10-03 23:05:35 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.