The format 20 bump introduces a foreign key (now) which breaks upgrades
if you have md5 checksums.

When we originally bumped to 20 this constraint wasn't there yet (added
in January as 'small' change without impact.

danielsh reported a broken update caused by this change on IRC.

Bert Huijben (Cell phone) From: Greg Stein
Sent: zaterdag 14 mei 2011 7:13
To: dev@subversion.apache.org
Subject: Re: svn commit: r1102843
- /subversion/trunk/subversion/libsvn_wc/wc-metadata.sql
On Fri, May 13, 2011 at 14:13,  <rhuij...@apache.org> wrote:
> Author: rhuijben
> Date: Fri May 13 18:13:06 2011
> New Revision: 1102843
>
> URL: http://svn.apache.org/viewvc?rev=1102843&view=rev
> Log:
> * subversion/libsvn_wc/wc-metadata.sql
>  (STMT_UPGRADE_TO_20): Following up on r1102837, update BASE_NODE and
>    WORKING_NODE instead of the empty (just created) NODES table.

As with my statement on r1102837, I recommend just dropping this.
There isn't any reason to do this for the f20 bump, since the f28 bump
will take care of it. And the upgrade process should run all those
bumps.

>...

Cheers,
-g

Reply via email to