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

RE: Removing empty revisions

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Tue, 17 Feb 2009 11:07:02 +0100

Yes, I did, but it did not work Apparently these options apply to the cases where svndumpfilter itself filters a dump and generates empty revisions.. In my case I have just got a dump file, which obviously has been run through svndumpfilter previously, without these options, so that the empty revisions are already there in the dump file. If I run the svndumpfilter on this dumpfile, and includes a specific path, these options will remove the empty revisions created in this process, but not the empty revisions already exisiting in the dump.


From: Hari Kodungallur [mailto:hkodungallur_at_gmail.com]
Sent: 16. februar 2009 18:43
To: Engebakken Geir
Cc: users_at_subversion.tigris.org
Subject: Re: Removing empty revisions

On Thu, Feb 12, 2009 at 2:32 PM, Hari Kodungallur <hkodungallur_at_gmail.com<mailto:hkodungallur_at_gmail.com>> wrote:

On Thu, Feb 12, 2009 at 2:16 AM, Geir Engebakken <geir.engebakken_at_edb.com<mailto:geir.engebakken_at_edb.com>> wrote:
I have got a dump file that contains about 1000 empty revisions ( with log message "This is an empty revision for padding").

I understand that this comes from dumping a repository and filtering it with dumpfilter. I have not got access to the old repository, but I would like to remove these empty revisions before loading the dump into the repository. I have tried to filter it through svndumpfilter with --drop-empty-revs, but this seems only to work if the dumpfilter is creating empty revisions, and not affecting already empty revisions. Anybody has an idea of how to get rid of these?

I think you need to use options --drop-empty-revs AND --renumber-revs.

Did you try what was suggested (see above)?



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-17 14:39:30 CET

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.