maxin wrote:
Thanks for the prompt response! I just compiled r1812050 and tested with my
own repo, however, somehow the svndumpfilter command cannot remove the
'empty' revisions from the filtered dump file....
Please report a small test case that demonstrates the problem, with the
exact commands. A script that starts with "svnadmin create repo" and
continues with "svn mkdir ..." and "svnadmin dump ..." and
"svndumpfilter ..." would be ideal.
Without knowing what commands you used, my first guess is you used
something like "svndumpfilter include / --drop-empty-revs".
$ svndumpfilter include --help
[...]
--drop-empty-revs : Remove revisions emptied by filtering.
--drop-all-empty-revs : Remove all empty revisions found in dumpstream
except revision 0.
--drop-empty-revs only removes revisions that *svndumpfilter* makes
empty, not revisions that were already empty before svndumpfilter
received them. In that case maybe you want --drop-all-empty-revs
instead. Is that it?
- Julian