subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@apache.org>
Subject Re: [PATCH] Add '--include' and '--exclude' options to 'svnadmin dump'
Date Fri, 13 Oct 2017 09:15:28 GMT
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



Mime
View raw message