On Feb 15, 2010, at 12:28 PM, Philip Martin wrote: > Julian Foad <julian.f...@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