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

NODES.properties == null for added node?

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 02 Feb 2011 18:02:55 -0800

Hi Stefan.

<http://colabti.org/irclogger/irclogger_log/svn-dev?date=2011-02-02> I
see you wrote:

> are newly added files supposed to have a NULL properties column in
> wc_db?
> they have props in ACTUAL_NODE
> but in NODES the column is NULL

There is no pristine version of an added node. The comment in
ACTUAL_NODES doesn't define this, but the pristine properties column
being null (rather than an empty list of props) makes sense to me.

> we have several loops in the code that do things like this:
> while (have_row && !svn_sqlite__column_is_null(stmt, 0))

I was curious and looked, but can't see any such loops. Where?

- Julian
Received on 2011-02-03 03:03:39 CET

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