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

RE: svn commit: r1376154 - in /subversion/branches/inheritable-props/subversion: libsvn_wc/upgrade.c libsvn_wc/wc-metadata.sql libsvn_wc/wc-queries.sql libsvn_wc/wc.h tests/libsvn_wc/db-test.c tests/libsvn_wc/entries-compat.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 23 Aug 2012 00:13:25 +0200

> -----Original Message-----
> From: pburba_at_apache.org [mailto:pburba_at_apache.org]
> Sent: woensdag 22 augustus 2012 19:41
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1376154 - in /subversion/branches/inheritable-
> props/subversion: libsvn_wc/upgrade.c libsvn_wc/wc-metadata.sql
> libsvn_wc/wc-queries.sql libsvn_wc/wc.h tests/libsvn_wc/db-test.c
> tests/libsvn_wc/entries-compat.c
>
> Author: pburba
> Date: Wed Aug 22 17:41:22 2012
> New Revision: 1376154
>
> URL: http://svn.apache.org/viewvc?rev=1376154&view=rev
> Log:
> On the inheritable-props branch: Bump WC format and handle upgrades.
>
> Manual and auto WC upgrades will now bump the WC format to 30, add the
> inherited_props column to the NODES table, and flag the WC roots that
> require iprop caches. Upgrade is still a disconnected operation however,
> so the caches are not populated until the next update.
>
> * subversion/libsvn_wc/upgrade.c
>
> (bump_to_30): Renamed the previous function here to bump_to_31 (it isn't
> currently used). The "new" bump_to_30 adds the inherited_props column
> to the NODES table and then sets the inherited_props of each WC root,
> excluding roots mapped to the repos root, to and empty array.
>
> (bump_to_31): The old bump_to_30.
>
> (svn_wc__upgrade_sdb): Handle the bump to 30.

Note that the old bump_to_30 code (conflict handling stuff and index fixes) was just waiting for the next format bump in order not to add an unneeded extra format bump, so if you want to merge this back to trunk before trunk is bumped your bump and the original bump to 30 should be a single format bump.

        Bert
Received on 2012-08-23 00:14:14 CEST

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.