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

Bug? svnadmin dump/svndumpfilter incompatible if using --deltas on dump

From: Simon Young <simon.young_at_blueyonder.co.uk>
Date: 2007-04-01 12:16:20 CEST

Hi

 

I'm using latest subversion under windows and I think I found a bug.

 

Fortunately I also found a workaround.

 

The bug: If you svndump using the -deltas switch, the resultant dump cannot
be processed by svndumpfilter

 

First my versions -

 

D:\svnrepos\dumps>svndumpfilter --version

svndumpfilter, version 1.4.3 (r23084)

   compiled Jan 18 2007, 07:47:40

 

D:\svnrepos\dumps>svnadmin --version

svnadmin, version 1.4.3 (r23084)

   compiled Jan 18 2007, 07:47:40

 

Here are 2 dumps, one produced with -deltas (the smaller one!), the other
without --deltas

 

Directory of D:\svnrepos\dumps

 

01/04/2007 09:54 <DIR> .

01/04/2007 09:54 <DIR> ..

01/04/2007 09:30 4,727,594 maindump

01/04/2007 10:56 11,170,028 maindump2

 

The problem -

 

D:\svnrepos\dumps>svndumpfilter include Exigene --renumber-revs
--drop-empty-revs < maindump > exigene

Including (and dropping empty revisions for) prefixes:

   '/Exigene'

 

svndumpfilter: Unsupported dumpfile version: 3

 

 

The workaround (don't use -deltas)

 

D:\svnrepos\dumps>svndumpfilter include Exigene --renumber-revs
--drop-empty-revs < maindump2 > exigene

Including (and dropping empty revisions for) prefixes:

   '/Exigene'

 

Revision 0 committed as 0.

Revision 1 skipped.

Revision 2 skipped.

Revision 3 skipped.

<SNIP>

Revision 50 committed as 1.

Revision 51 committed as 2.

<SNIP>

Revision 307 skipped.

Revision 308 skipped.

 

Dropped 249 revision(s).

 

Revisions renumbered as follows:

   308 => (dropped)

   307 => (dropped)

   306 => (dropped)

   305 => (dropped)

   304 => (dropped)

   303 => (dropped)

   302 => (dropped)

   301 => (dropped)

   300 => (dropped)

   299 => (dropped)

   298 => (dropped)

   297 => (dropped)

   296 => (dropped)

   295 => (dropped)

   294 => 59

<SNIP>

   72 => 20

   71 => 19

   70 => (dropped)

   69 => (dropped)

   68 => (dropped)

   67 => 18

<SNIP>

 

Dropped 844 node(s):

   '/ApacheConfig'

   '/ApacheConfig/trunk'

   '/ApacheConfig/trunk/conf'

   '/ApacheConfig/trunk/conf/httpd.conf'

   '/ApacheConfig/trunk/conf/httpd.conf_good_svn'

   '/ApacheConfig/trunk/conf/httpd.default.conf'

   '/ApacheConfig/trunk/conf/magic'

   '/ApacheConfig/trunk/conf/magic.default'

   '/ApacheConfig/trunk/conf/mime.types'

   '/ApacheConfig/trunk/conf/mime.types.default'

<SNIP>

 

Regards

 

Simon Young

 

 

 

 
Received on Mon Apr 2 14:02:56 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.