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

RE: Dropping empty revs with svndumpfilter

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Fri, 16 Oct 2009 14:51:43 +0200

As fas as I have understood this, the "--drop-empty-revs" is used only for revisions that are becoming empty from the filtering, and not empty revs existing already in the repos (from a previous load for instance).

Geir

-----Original Message-----
From: Jorge Handl [mailto:jhandl_at_gmail.com]
Sent: 9. september 2009 20:12
To: users_at_subversion.tigris.org
Subject: Dropping empty revs with svndumpfilter

I'm trying to prepare a project for uploading into google code. This project resides in a large repository among many other projects, so I dumped the repository to extract the desired one. Svndumpfilter fails because the project was renamed, so I used svndumpfilter2 (http://www.dehora.net/journal/2007/04/patched_svndumpfilter2.html) to do the work.

This leaves a lot of empty revisions, and I want to get rid of them, so I am running

   svndumpfilter --renumber-revs --drop-empty-revs \
      include project <project.dump >project.dump.slim

But it isn't working, the slim dump is as large as the original and is full of lines like this:

   Revision-number: 1267
   Content-length: 0

I tried loading the project.dump into a new repository and dumping it again,just in case something was not right in the dump file created by the svndumpfilter2 script, but it still doesn't work.

I'm using subversion 1.6.5 on ubuntu 8.04.

Any ideas?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2393033

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408210

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-16 14:53:15 CEST

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.