How to remove empty revisions from existing svn dump file?
Posted
by
Palmin
on Server Fault
See other posts from Server Fault
or by Palmin
Published on 2010-11-30T09:45:41Z
Indexed on
2011/01/10
0:55 UTC
Read the original article
Hit count: 523
I have an svn dump file which includes "empty" revisions (these were created by svnsync when synching only a subdirectory of an existing repository).
Since I'd like to use the svnsync'd repository as the new master (no need to sync again), I wanted to get rid of all the empty revisions.
Unfortunately, running the dump through svndumpfilter does not seem to remove the empty revisions, probably because svndumpfilter only looks at revisions it cleaned up by itself with the --exclude option (see also here)
I was also looking into svndumptool, but it does not seem to provide this functionality.
Is it possible to filter these revisions in any other way?
© Server Fault or respective owner