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

Re: WC-NG: How can we help with 1.7-readiness? - move props into wc.db

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 15 Feb 2010 16:32:11 -0500

On Mon, Feb 15, 2010 at 15:02, Hyrum K. Wright
<hyrum_wright_at_mail.utexas.edu> wrote:
>
> On Feb 15, 2010, at 12:28 PM, Philip Martin wrote:
>
>> Julian Foad <julian.foad_at_wandisco.com> writes:
>>
>>> I'll have a go at moving props into wc.db.  Has anyone already looked at
>>> that or got a clue where I could start?  I'll start searching for uses
>>> of the svn_wc__db_*_props functions and seeing where that leads, but I
>>> don't know if that's the right end of the stick.
>>
>> Hyrum said he had some code but that it didn't work properly.  I think
>> it might be the currently unused upgrade.c:migrate_props (if so then I
>> fixed a hash initialisation bug that would have prevented it working,
>> although I don't know if it now works).
>
> This is indeed true.  I've attached my patch to the issue, and noted the reason it hasn't been committed yet, namely that the upgrade code was completely non-functional, so migrating from an old working copy to a new working copy wouldn't upgrade the properties.  Lately, Greg's reworked the upgrade code, so this problem may be fixed, but I haven't tested it yet.

The upgrade/migration for properties is not (yet) fixed, but will be
as part of my upgrade rewrite.

Cheers,
-g
Received on 2010-02-15 22:32:46 CET

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.