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

migration to NODES

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 24 Sep 2010 01:40:33 -0400

Hey all,

So I've been thinking of how we upgrade working copies to the new
NODES table. As before, we have two scenarios to be concerned with:

1. formats 4..10: releases 1.0 thru 1.6
2. formats 11..19: 1.7-dev

For (1), we revamp the old-entries-writing in entries.c, which is
invoked as part of upgrade_to_wcng(). Rather than writing to the
*_NODE tables, we will write to NODES and ACTUAL_NODE. This doesn't
feel too hard, except for the testing part. Our current
entries-writing code was tested via entry_modify() and friends when
those functions were still in use. The only way to test this code path
now is to create a large set of working copies with "all" state
variations. Not fun. Maybe there is a way to automate this, or use our
test suite to generate working copy datasets?

For (2), I would prefer to do this in code, but being such a difficult
series of transforms (prior auto-upgrades were quite simple), and that
we've already had precedent for an external script... I'm thinking of
just doing that.

Thoughts?

Cheers,
-g
Received on 2010-09-24 07:41:12 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.