I guess this might be similar to what @ZacThompson (and @Pekka) mean: I think svndumpfilter
is your friend.
From your question I think you have the idea what it is meant to do but struggle with the copying/moving of the branch all over the place? An answer to that can be found in the before mentioned SVN Documentation, I believe:
Also, copied paths can give you some
trouble. Subversion supports copy
operations in the repository, where a
new path is created by copying some
already existing path. It is possible
that at some point in the lifetime of
your repository, you might have copied
a file or directory from some location
that svndumpfilter is excluding, to a
location that it is including. To make
the dump data self-sufficient,
svndumpfilter needs to still show the
addition of the new path—including the
contents of any files created by the
copy—and not represent that addition
as a copy from a source that won't
exist in your filtered dump data
stream. But because the Subversion
repository dump format shows only what
was changed in each revision, the
contents of the copy source might not
be readily available. If you suspect
that you have any copies of this sort
in your repository, you might want to
rethink your set of included/excluded
paths, perhaps including the paths
that served as sources of your
troublesome copy operations, too.
Meaning: make svndumpfilter
include all paths the branch ever lived at. Or am I missing something?
Another possibility might be the svndumpfilter2
mentioned by @compie in the thread you linked although I believe it is not even necessary (and I don't know either of @compie or svndumpfilter2
).
svndumpfilter
always was the standard answer. Are you sure it's not going to cut it for you? – Jeanne