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

Re: Divide by zero at subversion/libsvn_fs_fs/fs_fs.c:upgrade_pack_revprops() (was Re: SVN crach Log)

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 19 Jun 2013 14:24:12 +0300

Bert Huijben wrote on Wed, Jun 19, 2013 at 11:25:29 +0200:
> This would be much easier to reproduce if we could 'svnadmin upgrade' to
> specific newer formats instead of only directly to the latest version.


> I have no idea how hard it would be to implement this (and it certainly
> can't be backported to 1.8), but at least it would allow more testing for
> future versions.

It would involve adding yet more code that is dead most of the time, and
a feature whose only use case so far is ease of development.

We have other options:

1. Allow 'svnadmin create --shard-size=0'. (If you do that with
--compatible-version=1.7, you'd be able to reproduce.)

2. Have the tests use tarballs of created-by-1.7 FSes, just like the
'svn upgrade' tests do.
Received on 2013-06-19 13:24:50 CEST

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