subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <b...@qqmail.nl>
Subject 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
Date Wed, 22 Aug 2012 22:13:25 GMT


> -----Original Message-----
> From: pburba@apache.org [mailto:pburba@apache.org]
> Sent: woensdag 22 augustus 2012 19:41
> To: commits@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


Mime
View raw message