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

Dropping empty revs with svndumpfilter

From: Jorge Handl <jhandl_at_gmail.com>
Date: Wed, 9 Sep 2009 11:12:27 -0700 (PDT)

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].
Received on 2009-09-09 20:14:33 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.