[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: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 15 Feb 2010 14:02:16 -0600

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.

Feel free to chuck, use, or rewrite the patch if it suits your purpose.

-Hyrum
Received on 2010-02-15 21:03:50 CET

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